Hey guys. I made a workflow few month ago, that can help you coding sketch scripts in your favorite editor to instead the default Run Scripts tool or the DevTools, include VS Code and Sublime Text.
Project Link: https://github.com/tankxu/run-sketch-script-in-editors
Run sketch scripts in Sublime Text
Run Sketch Scripts in VS Code