Anyone using Visual Studio Code as external script editor?
I wanted to share my user snippets. They contain pre-defined functions used by Halion and also modulation source and destination type names.
I packaged the snippets as extension. Just search for āH6 Snippetsā in vscode extensions.
I was using Zerobrane studio which I think is a great lua editor with debugger, but not that easy to expand or customize. Unless you really know what youāre doing.
In VSC you can easily expand the extension with your own user snippets. They can also be more complex and can be assigned to key command.
Iāve assigned (Shift+I then 1) to insert the following, where I can tab through the ā$ā placeholders.
Yes, Brackets also has lots of expansion capabilities, but not in any user friendly way.
Have you tried this Lua extension for VSC Lua - Visual Studio Marketplace
It does great auto completing and has functions like āforā for normal loop, āforiā for ipairs and āforpā for pairs and many others.
This one is one of the most popular. Yes, Iāve tried it and itās great. But I find the autocomplete to be ātoo goodā at times. So you end up deleting and changing a lot of things afterwards.
Another thing Iāve noticed is that if you have too many extensions active at the same time they can cause conflicts.