cypher175 Posted July 25, 2009 Share Posted July 25, 2009 when coding i some times forget to format my code all neat and perfect like. some times a whole code section is to far to the left and i need to do a TAB or a few TABs for each line manually.. so i was wondering if there was a feature or something at all to select a bunch of code and move it over a TAB or more..?? Link to comment Share on other sites More sharing options...
Rarst Posted July 25, 2009 Share Posted July 25, 2009 If you are using SciTe (or any other editor based on Scintilla like Notepad++) you can select several lines of code and dd tabs with pressing Tab or remove tabs with pressing Shift+Tab.With SciTe for AutoIt another easy option is Ctrl+T that prettifies whole code. AutoIt tag at Rarst.net Link to comment Share on other sites More sharing options...
cypher175 Posted August 7, 2009 Author Share Posted August 7, 2009 If you are using SciTe (or any other editor based on Scintilla like Notepad++) you can select several lines of code and dd tabs with pressing Tab or remove tabs with pressing Shift+Tab.With SciTe for AutoIt another easy option is Ctrl+T that prettifies whole code.I tried what you said with the Ctrl+T to prettify my whole code... But nothing happened..?? It just looked like it swapped 2 lines of code with each other..?? Link to comment Share on other sites More sharing options...
ResNullius Posted August 8, 2009 Share Posted August 8, 2009 I tried what you said with the Ctrl+T to prettify my whole code... But nothing happened..?? It just looked like it swapped 2 lines of code with each other..??In the full SciTE4AutoIt3 installation (available here: http://www.autoitscript.com/autoit3/scite/)Ctrl+T runs the "tidy" program on your source.In the regular SciTE or "lite" installation, CTRL+T Transposes two adjacent lines.Are you running the full SciTE4AutoIt3? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now