Closed montegoulding closed 8 years ago
@peter-b I'm thinking about changing the command snippets so the optional syntax uses selections rather than having a snippet for every conceivable form of a command. The only issue is those that have nested optional syntax as it seems atom doesn't support a snippet like this:
'something ${1:hello${2:world}!} ${3:something}'
At least if you delete 1 you can no longer tab to 3 but you can tab to 1 then 2 and delete 2 and still tab to 3. Probably a bug in the way atom looks for the next thing to tab to.
Opened an issue here
Should have branched for PR will re-open in a sec on a feature branch
Hi @peter-b this seems to work however it breaks on some of the syntax definitions in the docs that aren't correctly formed. Answer files for example is missing
[titled
before windowTitle. Anyway, hope this helps!