Home Download Buy Blog Forum Support

ignore default snippets

ignore default snippets

Postby markfink on Fri May 18, 2012 5:01 am

Hi there,

I am new to Sublime Text 2 and I must say so far I like it. I have a question regarding snippets (I do not know yet if it is a question or feature request thats why I posted into this queue). I want to clean up default snippets but I do not want to delete them because I want an easy way to sync between multiple workenvironments. I also want to insulate against new versions. Therefore I was expecting to be able to do this in the user settings like the following (analog to ignored_packages, but I could not get it to work):

"ignored_snippets":
[
"function"
],

Regards,
Mark
markfink
 
Posts: 2
Joined: Fri May 18, 2012 4:56 am

Re: ignore default snippets

Postby barro32 on Fri Aug 10, 2012 4:11 pm

Bump
I would also like to do this.
barro32
 
Posts: 4
Joined: Tue Jul 10, 2012 11:54 pm

Re: ignore default snippets

Postby marcuso on Fri Mar 01, 2013 2:45 pm

Just ran into this problem and here's my solution that works

* In .config/sublime-text-2/Packages copy the C++ folder to C++.personal
* Hose/Edit out the snippits that offend you in C++.personal
* Add C++ to the "ignored_packages" entry in the Preferences.sublime-settings to disable the standard C++ snippets.
marcuso
 
Posts: 6
Joined: Tue Feb 05, 2013 7:28 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests

cron