sass-textmate-bundle
sass-textmate-bundle copied to clipboard
[How to...]Compatibility with Emmet (+Semicolon completion)
I solved the lack of compatibility between this nice package and Emmet: With those two things, you will be able to press the key tab to expand an abbreviation with Emmet, and a ";" will be put at the end of the abbreviation line (like with a css file).
2 things:
- For Sass-textmate-bundle : you have to delete the folder "Snippet" in order to let Emmet do his job (press tab to expand an abbreviation...). You have to delete it directly in the archive folder of ST -- otherwise it will be rebuilt next run time. So go to "Installed Packages/Sass.sublime-package" -> rename it "Sass.zip" -> edit it with winrar -> within delete the folder "Snippet" -> then rename it "Sass.sublime-package" -- works for ST3, Sass-textmate-bundle downloaded with package manager.
- Finally, what you had to find ;] : in Emmet folder, you have to edit the file "Emmet.sublime-settings" and add "sass.propertyEnd": ";" (with all the quotation marks) here :
"preferences": {
// "css.valueSeparator": ": ",
// "css.propertyEnd": ";"
"sass.propertyEnd": ";"
},
Voilà, voilà!
Hope this can help someone.
https://github.com/nathos/sass-textmate-bundle/issues/38, https://github.com/nathos/sass-textmate-bundle/issues/37, https://github.com/nathos/sass-textmate-bundle/issues/28, https://github.com/nathos/sass-textmate-bundle/issues/12, https://github.com/nathos/sass-textmate-bundle/issues/10
thx for the tip !