Open julienbeisel opened 1 year ago
I am working on moving the codemirror6 stuff into a separate project https://github.com/hlolli/codemirror-lang-csound . There is builtin support for running eslint on it, but for that to work, someone would need to write babel parser plugin for csound syntax and then write some rules. I don't think it will be too heavy lift to make a prettify function, this plugin is already aware of indentation levels, so at least it could wrap everything into correct blocks. I'll keep this ticket open, but there's a long way ahead :)
Hi,
I'm pretty new to Csound and I'm used to my Python tooling. In Python, I use extensively
black
, which allows me to format my code and do not have to worry about too many blank lines, spaces between characters...Do you know if:
It looks like users already developed custom scripts to do that: https://forum.cabbageaudio.com/t/code-beautifier-csound-cabbage/798
Thanks for this amazing work :)