You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Csound "good practices" exist?
A formater already exist?
It would be relevant to add the feature on the online IDE?
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 :)
The text was updated successfully, but these errors were encountered: