Home Download Buy Blog Forum Support

ST3: default package snippets

ST3: default package snippets

Postby imcr on Mon Feb 04, 2013 4:16 pm

How does one go about modifying the behaviour of a default snippet now they're zipped up and locked away inside the app?

Is there a way to override the defaults within 'User' snippets in the 'Packages' directory?
imcr
 
Posts: 6
Joined: Thu Mar 15, 2012 3:13 pm

and Vintage too

Postby ChadW on Wed Feb 06, 2013 10:09 pm

Seconded, with request to expansion to other packages. The ";" Vintage motion is broken in ST3, and I'd be happy to troubleshoot it myself. Is there some magic I should go through to drop into a "developer-mode" to help out?

It's fine if the answer is "log the bug, but don't muck about until ST3 itself is stable", just checking that I'm not missing something. Perhaps I should be branching Vintage as a separate package from somewhere so as not to disturb the standard distribution?
ChadW
 
Posts: 21
Joined: Fri Sep 23, 2011 7:45 pm

Re: ST3: default package snippets

Postby jps on Thu Feb 07, 2013 5:17 am

There are some details about overriding files at http://www.sublimetext.com/docs/3/packages.html
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: ST3: default package snippets

Postby wbond on Thu Feb 07, 2013 5:55 am

jps wrote:There are some details about overriding files at http://www.sublimetext.com/docs/3/packages.html


This is excellent, in that it will provide a clear path to layer customizations on top of stock packages.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: ST3: default package snippets

Postby jps on Thu Feb 07, 2013 6:09 am

wbond wrote:This is excellent, in that it will provide a clear path to layer customizations on top of stock packages.

That's the plan, the previous PackageSetup based system was fairly prone to failure.

Plugins will not currently work properly with overrides, but it is on the todo list to fix.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: ST3: default package snippets

Postby imcr on Thu Feb 07, 2013 11:23 am

jps wrote:There are some details about overriding files at http://www.sublimetext.com/docs/3/packages.html


This is exactly what I was looking for!

Many thanks for the link and all the hard work.
imcr
 
Posts: 6
Joined: Thu Mar 15, 2012 3:13 pm

Re: ST3: default package snippets

Postby ChadW on Thu Feb 07, 2013 11:59 pm

Ah, got it. I had an inkling that this was going on; the docs make it real clear. Thanks.

Note that this changes the interaction mode a bit-- e.g., the README.TXT in the Vintage package now isn't visible unless the user intentionally unzips it somewhere.
ChadW
 
Posts: 21
Joined: Fri Sep 23, 2011 7:45 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 17 guests