Jump to content

Move a Selection of code over a TAB or more..??


Recommended Posts

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

  • 2 weeks later...

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...