简体   繁体   中英

SCSS auto-suggestion on VS code

I am new to SCSS and have just started a new project, as you can see below I have declared 4 variables in Global.scss but after import it to another scss file, I was unable to get any auto-suggestion as I was assigning those variables.

Am I missing any plugins? Or any other way to solve this?

在此处输入图像描述

Yes, You need to install a vs code extension . SCSS IntelliSense

Installing this extension will show suggestions for variables accessed in a different file.

Besides SCSS intelliSense , you can also try SCSS Everywhere which gives you suggestions when you are assigning classes to HTML elements.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM