Is there a simple way to reformat my HTML from within Komodo Edit or to automate the process against Tidy?
Something like the Ctrl+K, Ctrl+D in Visual Studio would be brilliant. I am presently running Ubuntu with Tidy installed.
If you want a solution that just straight up works, do the following:
Get the macro code here:
Komodo edit macro (404)
It includes the code from http://jsbeautifier.org/ and works like a charm...
Next is to set up a keystroke:
Select your new macro in the toolbox
Now go to key bindings
Type a sequence and it will tell you if the sequence you typed is available. I use Ctrl + / because they are near each other.