Sublime Forum

New Unofficial Docs: Completions II

#1

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 :smiley:

sublimetext.info/docs/extensibil … tions.html

Let me know if anything’s still unclear!

0 Likes

#2

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).

0 Likes

#3

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:

sublimetext.info/docs/extensibil … ppets.html
sublimetext.info/docs/reference/snippets.html

0 Likes