2016-11-30 66 views
2

当我升级到WebStorm 2016.3时,SASS和SCSS文件从new file下拉框中的project explorer中消失。如何在WebStorm中定制“新文件”下拉菜单

我找不到配置该菜单内容的位置。 Preferences -> Editor -> File and Code Templates仅修改模板,而不是菜单中的可用模板。

我确定这个场景正在凝视着我,但我找不到它。

new file dropdown - no SASS. SCSS option

file and code templates

+0

从哪个版本升级?它已经是这样几年了... 1)http://stackoverflow.com/a/32923287/783119 2)http://stackoverflow.com/a/39569681/783119 – LazyOne

回答

2

您可以创建在Preferences | Editor | File and code templates新SCSS文件模板 - 新的模板将出现在文件/新建菜单。但请注意,可以通过File/New/Stylesheeet创建新的scss/sass文件 - 只需选择'SCSS File'或'Sass File'作为样式表类型