vcync / modV

modular audio visualisation powered by JavaScript
https://modv.vcync.gl
MIT License
445 stars 25 forks source link

Edit & debug modules directly in modV #619

Open TimPietrusky opened 3 years ago

TimPietrusky commented 3 years ago

Is your feature request related to a problem? Please describe. When you are into live coding or just want to change some stuff in a module, you have to either edit the module directly in modV (sample-modules) or edit them from the user media-folder. When you have found the file, you have to edit it in an editor, which doesn't show you any error messages. For this you would need to have modV open.

Describe the solution you'd like Edit any module directly in modV to have an integrated place to see errors + preview.

Describe alternatives you've considered Having modV and the editor on the same screen, but that is just a pain and needs a lot of UI changes in modV to move everything around to that it fits into one screen. And when we are done we have to reset the layout in modV to actually use modV for a live performance.

Additional context Integrate VSCode into modV? And provide two builds, one with the IDE and another one without it?

2xAA commented 3 years ago

@TimPietrusky I'd like to support livecoding with better overall integration for sure.

I built a small environment as a module test-bed a while ago: https://github.com/vcync/modv-module-livecode

Another idea could be to think of how to support other editors without integrating VSCode into modV.

How about a console window you can launch from modV which shows you only file errors? Or a socket service which could be used to provide errors/feedback in your favourite editor with a plugin?

There's also a personal preference when I'm coding to use my own font, colours, sizes, plugins, add-ons, etc. I find it frustrating to have to use somebody else's editor most of the time (examples: jsbin, jsfiddle, codepen, isf.video's online editor)

2xAA commented 2 years ago

@TimPietrusky can we merge this into #584 or the other way around?