I have the following save in ~ / Library / Application Support / Sublime Text 3 / Packages / User as sass_mq.sublime-snippet :
sass_mq.sublime-snippet
<snippet> <content><![CDATA[ @include respond-min() {} ]]></content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <tabTrigger>mq</tabTrigger> <!-- Optional: Set a scope to limit where the snippet will trigger --> <scope>source.sass</scope> </snippet>
I got source.sass by pressing cmd + opt + p and looking at the status bar.
source.sass
It works in all other file types if I delete an area but never in .scss files.
Is my syntax wrong?
<scope>source.sass</scope>
You have a scope limited to sass files.
I think you should include both sass and scss in the scope. Try using this line instead.
<scope>source.scss, source.sass</scope>
Source: https://habr.com/ru/post/1481193/More articles:Programmatically click a webpage button - javaredefining a hostname in a solo stroller recipe - vagrantIs there any way to see the script code for the action that I performed? - google-apps-scriptWindows Azure Ubuntu - 500 OOPS Errors: priv_sock_get_cmd when making an FTP connection - ubuntuUpdating Asp.net session variables by stream is not reflected in the session - asp.netAzure Cloud Service does not work with SSL - sslConverting a string to double always leads me to the wrong representation - javaprototype in javascript file loaded by requirejs - javascriptActionbarSherlock in android studio - androiddeleted data: result object with different attributes. how is the map? - jqueryAll Articles