[英]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.我是
SCSS
新手,刚刚开始了一个新项目,如下所示,我在 Global.scss 中声明了 4 个变量,但是在将其导入另一个 scss 文件后,我无法获得任何自动建议,因为我正在分配这些变量。
Am I missing any plugins?我是否缺少任何插件? Or any other way to solve this?
或者任何其他方法来解决这个问题?
Yes, You need to install a vs code extension
.是的,你需要安装一个
vs code extension
。 SCSS IntelliSense SCSS 智能感知
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.除了SCSS intelliSense 之外,您还可以尝试SCSS Everywhere ,当您将类分配给 HTML 元素时,它会为您提供建议。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.