Feature Request: Add Code Formatting (Indentation)
-
What I Want:
I'd like to see a feature that automatically helps with code indentation in HISE's script editor.Why It's Good:
Makes code easier to read.
Saves time when writing or editing code.
What It Should Do:
Auto-Indent: When I write a new line of code, it should automatically indent the line correctly.
Correct All Indents: A button to fix the indents for the whole script at once.
Let Me Choose: Let me pick how many spaces or tabs to use for indents.
I don't know if there is some bug that causes my code to get the wrong Indentation ( not always ).
Thanks
-
@sakorada If you are pasting from an external editor I've seen the tab spacing get messed up, but working directly in the HISE editor I haven't had any issues.
A code beautifier would be nice, and a linter! but I don't think these should be priorities.
-
@sakorada
Yes, it's kinda weird at my end
I had to copy the code to VS code and Formating, and then copy it back to HISE.
Pasting from an external editor worked best for me, didn't mess with Indentation . it's just happens when i'm typing and (deleting ).