I have the snippet below save in ~/Library/Application Support/Sublime Text 3/Packages/User/My Snippets. After not being able to get it to work in a markdown file, I changed it to text.plain, then opened a .txt file. Sublime says “Plain Text” at the bottom right of the screen. Yet whey I type xxx then tab, nothing happens. I also tried making the trigger xxx/, but that did not work either.
HELLO SNIPPET xxx text.plainWhy does this simple snippet not work?
zBernie
#2
Noob mistake. I did not give the saved snippet file a .sublime-snippet extension. After I renamed the file:
/Library/Application Support/Sublime Text 3/Packages/User/MySnippets.sublime-snippet
It worked!
1 Like
FichteFoll
#5
If we’re doing promotions, I’d like to suggest https://packagecontrol.io/packages/SaneSnippets for easier-to-work-with snippets.
1 Like