Home Download Buy Blog Forum Support

New Unofficial Docs: Completions II

New Unofficial Docs: Completions II

Postby guillermooo on Thu Apr 07, 2011 9:10 pm

I've expanded the section on completions to attempt to explain them better. Excuse the tone, but otherwise I thought I would bore everyone to tears, including myself :D

http://sublimetext.info/docs/extensibil ... tions.html

Let me know if anything's still unclear!
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: New Unofficial Docs: Completions II

Postby rchl on Fri Apr 08, 2011 9:43 am

Nice but very basic. Are there docs on how $0, $1... variables behave (I noticed that $0 is quite special)? Also ${0:foo} thing.

But maybe that does not belong to that page and should rather have separate one (as these can be used in snippets too).
rchl
 
Posts: 148
Joined: Fri Mar 04, 2011 11:02 pm

Re: New Unofficial Docs: Completions II

Postby guillermooo on Sun Apr 10, 2011 8:01 am

Hi rchl,

Completions can be either plain strings or snippets, and snippets are just snippets, so you can use the same features as for regular snippets:

http://sublimetext.info/docs/extensibil ... ppets.html
http://sublimetext.info/docs/reference/snippets.html
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 14 guests