Home Download Buy Blog Forum Support

editing default snippets

editing default snippets

Postby theshiftexchange on Wed Nov 23, 2011 8:46 am

Hi,

I was wondering how you can override the existing snippets (i.e. not create new ones)?

For example, I want to change "ret0,tab" from "return false;" to "return FALSE;"

I checked all the settings, and I couldnt find it anywhere....

Thanks in advance
theshiftexchange
 
Posts: 2
Joined: Wed Nov 23, 2011 8:45 am

Re: editing default snippets

Postby jps on Wed Nov 23, 2011 8:48 am

Your best option is to edit the corresponding .sublime-snippet file (which can be found via Preferences/Browse Packages)
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: editing default snippets

Postby theshiftexchange on Wed Nov 23, 2011 11:37 am

perfect - thanks!!!
theshiftexchange
 
Posts: 2
Joined: Wed Nov 23, 2011 8:45 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 11 guests