我喜欢Webstorm,Phpstorm和Intellij以及其他jetbrain产品的自动完成功能。如果我有这样的结构,它不起作用:
img/my-img.jpg
sass/main.scss
sass/component/_component.scss
// sass/main.scss:
@import "/component/component"
// _component.scss:
.class{
// => autocomplete doesn't work here as desired <=
// how intellij completes it
background: url(../../img/my-img.jpg)
// what i would like to have instead
background: url(../img/my-img.jpg)
}
有没有办法告诉IntellJ如何使用sass文件夹作为图像自动完成的基础并摆脱恼人的错误通知?