3 ms·
Could you do the work in a plug-in to allow easy creation of scripts as a solution? Or is there an execution sandbox preventing that? Also I never really thoug
by grogenaut 7y ago
Could you do the work in a plug-in to allow easy creation of scripts as a solution? Or is there an execution sandbox preventing that?
Also I never really thought of writing scripts for editing in emacs thanks for the brain shift that clicked for me.
- dmortin 7y agoIf you want to write a new command for vscode then you have to register it in contribution points in the editor which is done in a json file. I don't know if you can do that dynamically and if you can't then you can't create a quick throwaway editing command either. I very often write few lines of temporary commands if I have to do some mass editing which can be automated. With vscode I'd have to do it in python or something outside of the editor which is much less convenient than an emacs script which can work on a file as a buffer.