[OT] Atom Text Editor for Script Editiing - First Impressions

Ralf Bitter rabit at revigniter.com
Tue Sep 1 09:09:33 EDT 2015


> On 01.09.2015, at 05:44, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
> 
> 6) Boilerplates. If you type 'if' or 'repeat' you are offered up an
> autocomplete. For some reason 'switch' is not included but then again in my
> TE I had to manually add the if and repeat boilerplates, Atom comes with
> these pre-installed. So all I have to do is add a couple of switch
> 'snippets' - the term Atom uses for boilerplates.


Hi Kay,

actually there is a snippet for "switch", so
typing "s", "sw", "swi" etc. followed by a tab
should work, really. Then a placeholder for the
switch expression is selected. Subsequent
tabs select the first case value, the related
line of code and the placeholder for the
"default" code .


Ralf




More information about the use-livecode mailing list