An extension for Brackets to show SASS hints in the code editor.
$
or @
to show respectively variables or keywords hint@include
to show mixins hintCtrl+Space
near the variable/mixin/keyword to show hint listCtrl+Shift+Space
to show functions hint list. If cursor is between function parentheses, it shows parameters hintCurrently only SCSS file format is supported.
codehint.SassHint
(boolean)
If the value of this preference is true
, sass hints will be enabled.
Otherwise, the extenion will be disabled.
sasscodehints.maxHints
(number)
This value determines maximum length of hint list.
sasscodehints.showBuiltFns
(boolean)
This value define, whether built-in functions will be shown in hint list or not.
sasscodehints.commonLibs
(string)
Absolute path to the common "partial" files.
When we import files by @import 'file' the extension firstly looking for a file in directory relative to edited file. If they not exists, script will continue searching in directory, which was passed by commonLibs preference.
For more information on setting preferences see How to Use Brackets - Preferences
parameters and local / global variables example
keywords and mixins example
functions example
MIT-licensed -- see main.js
for details.
Tested on Brackets 1.9 and 1.10 pre-release 2 (Windows 7).