When coding in Sublime Text, I would often use snippets that would have a whole form or complete section already formatted and would be able to insert this into my code with ease..
But what really annoyed me when starting a new page in sublime text it had no scope (meaning a specific language like PHP) till I had saved it, with an extension. This would mean that snippets did not show up.
So when I wanted a Jquery document ready call, it would not work till I wrote the <script> tag or > Settings
2. Then add the code below and you will then instantly have global snippets, even in brand new pages. (P.s. I did not need to reload the page)
3. Add “auto_complete_selector”: “text.plain”,
{
"auto_complete": true, // Enable auto complete to be triggered automatically when typing.
"auto_complete_selector": "text.plain", // this is the magic line
"auto_match_enabled": false, // Controls auto pairing of quotes, brackets etc
"color_scheme": "Packages/Color Scheme - Default/Vibrant Ink.tmtheme",
"detect_slow_plugins": false,
"font_size": 16,
"ignored_packages":
[
"Vintage"
],
"show_definitions": false,
"smart_indent": true,
"tab_size": 4,
"theme": "Adaptive.sublime-theme",
"translate_tabs_to_spaces": false,
"word_wrap": "true"
}