Aptana Studio 3 code assist for Sass (.scss) files

后端 未结 3 559
耶瑟儿~
耶瑟儿~ 2020-12-25 08:03

I\'m using Aptana Studio 3 and I\'d like to get the code assist feature to work for Sass (.scss) files. It\'s OK if code assist doesn\'t work for Sass syntax/declarations, b

3条回答
  •  梦谈多话
    2020-12-25 08:46

    (answer taken from the comments- props/shout-out go to @Humming )

    My problem now is that it's annoying to get the css errors because css doesn't support the selector within selector syntax thing. -Andrew Luhring

    No such problem for me, I can nest without any error. Make sure your file extension is .css.scss -Humming

    wait what do you mean my file extension should be .css.scss... do you mean style.css should originally be style.css.scss before sass compiles it?? – Andrew Luhring

    Adding the .scss extension after .css will allow it to consider both css and scss features. Like we have .html.erb or .js.erb – Humming

提交回复
热议问题