SkSL Shader Code / External Editor
Summary
Ability to edit SkSL shader code in an external text editor like VSCode.
Context
The built in shader code editor is currently just a multi-line string input and does not provide any modern code editing features like syntax highlighting. It also has very small input area and makes it difficult to see a significant amount of code at once.
Possible Resolutions:
- Add .sksl file asset that can be loaded in the Assets pane and connected to the SkSL's Shader Code input. The shader code would dynamically reload/update on .sksl file save. The .sksl file can then be edited in any text editor like VSCode.
- Improve built in code editor.
I think the first approach would be most flexible while also being the lightest development lift. I can also imagine a few other new file based pipelines that the core functionality of this request would enable.