sepoto Posted April 25, 2011 Share Posted April 25, 2011 I am trying to find an editor where I can select all my code and justify everything back to the left so that I can reformat all the code. I know how to write a script to do this myself I was just wondering if there is an editor that does that. Select all and move everything back to the left. Is there one?Thanks! Link to comment Share on other sites More sharing options...
justsomeguy Posted April 25, 2011 Share Posted April 25, 2011 Most editors will do block indenting, where using tab or shift-tab will indent or un-indent all of the highlighted lines. ConTEXT and Sublime Text are two that will do that. Link to comment Share on other sites More sharing options...
2old2learn? Posted April 25, 2011 Share Posted April 25, 2011 I am trying to find an editor where I can select all my code and justify everything back to the left so that I can reformat all the code. I know how to write a script to do this myself I was just wondering if there is an editor that does that. Select all and move everything back to the left. Is there one?Thanks!I use " Notepad++ " and its free...But most editor's do what you are asking... Link to comment Share on other sites More sharing options...
Fmdpa Posted April 26, 2011 Share Posted April 26, 2011 Every code editor I've used does this. Link to comment Share on other sites More sharing options...
Synook Posted April 26, 2011 Share Posted April 26, 2011 Some editors for OS X, like Textmate, use the old convention where cmd+] block-indents and cmd+[ block-unindents (and TAB just overwrites everything with a tab-stop character ). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.