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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.