Currently I use this plugin for syntax highlighting in Visual Studio http://www.mindscapehq.com/products/web-workbench
Personally I don't like it at all. It has limited features and poor formatting compared to other editors. In my freelance work I use Sublime Text 2 and Aptana which have excellent support for SASS. But at my job I have to use Visual Studio. Does anyone else know of a good plugin that has SASS support?
I don't care if it builds the files I do that through the command line anyway. I just want something that has good syntax support.
Syntax highlighting determines the color and style of source code displayed in the Visual Studio Code editor. It is responsible for colorizing keywords like if or for in JavaScript differently than strings and comments and variable names.
Step 1: Install Live Sass Compiler Extension In VS Code Select the Extensions tab from the sidebar. Click on the Extensions tab from the sidebar. Search for Live Sass Compiler in the search box. Search for “Live Sass Compiler” from the search box.
Visual Studio Code SASS CompilerThe Sass Compiler Web Extension for Visual Studio Code is one of the best ways to have your SASS files transpiled into CSS. To do so simply type in “Live Sass Compiler” into the extensions marketplace.
Try SassyStudio. It's free and works with VS 2012/13:
http://visualstudiogallery.msdn.microsoft.com/85fa99a6-e4c6-4a1c-9f00-e6a8129b6f4d?SRC=VSIDE
I also didn't want to pay $39 a year for Web Workbench. SassyStudio works perfectly for me.
Here are the settings I'm using (given to me by the developer):
Restart VS for these changes to take effect.
Try this :
In VS 2012 open menu Tools > Options, on left side select menu Text Editor > File Extension and then add scss as extension and choose CSS Source Editor from dropdown as editor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With