I've a project that I'm working on which has not been started by me. The code is all jumbled up, I want to format the code, not manually but by using textmate. How do i go about it?
Asked
Active
Viewed 1,454 times
2 Answers
4
Generally, highlight the block of code (or whole file) and select "Indent Selection" from the "Text" menu.

Ritchie
- 1,486
- 1
- 15
- 19
-1
If you go to bundle > html > tidy
it will do the trick!

Servy
- 202,030
- 26
- 332
- 449

Sultan Saadat
- 2,268
- 6
- 28
- 38