DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: AutoHotKey Tidy or equivalent?  (Read 10,378 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
AutoHotKey Tidy or equivalent?
« on: August 05, 2009, 09:08 PM »
Right now I'm using Scite4AutoHotKey but I'm wondering if anyone knows of another free editor esp. one that has "Tidy" or equivalent for autoindent and syntax checking. Not to start a favorite editor war, but what are people using for AHK?

Perry Mowbray

  • N.A.N.Y. Organizer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,817
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Re: AutoHotKey Tidy or equivalent?
« Reply #1 on: August 06, 2009, 10:50 AM »
I use PSPad and I can be pretty untidy  :-[

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: AutoHotKey Tidy or equivalent?
« Reply #2 on: August 06, 2009, 10:54 AM »
http://www.autohotkey.com/forum/topic7810.html

For the record, I use PSPad as well.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: AutoHotKey Tidy or equivalent?
« Reply #3 on: August 06, 2009, 05:49 PM »
That ahk tidy script looks like it will do the trick.  :Thmbsup:

Not to start an editor feature war, but does it seem weird to anyone else that an editor doesn't have a hotkey to delete a line?  Or if it does, it's not documented? You sort of have to trial and error the thing.  In Scite based it seems like Control-L will delete a line like in MS Visual Studio, but I haven't found the secret in PsPad yet(I use that mostly for my web stuff.)  I've been selecting a line with Shift-End, then deleting with the Del key.  Is there an Easter Egg to just delete the line in one go?

Thanks guys.

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: AutoHotKey Tidy or equivalent?
« Reply #4 on: August 06, 2009, 08:09 PM »
I've been using it for so long that I don't recall the default hotkey but you can change all that here:

Settings, Program Settings, Key Map, Editor, DeleteLine

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: AutoHotKey Tidy or equivalent?
« Reply #5 on: August 07, 2009, 02:28 AM »
Thanks skwire. :)

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Re: AutoHotKey Tidy or equivalent?
« Reply #6 on: August 07, 2009, 04:27 AM »
Vim :) There is a syntax file for Ahk as well. I am sure you can use one of the language files for Ahk indenting.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: AutoHotKey Tidy or equivalent?
« Reply #7 on: August 07, 2009, 04:48 AM »
I've been selecting a line with Shift-End, then deleting with the Del key.  Is there an Easter Egg to just delete the line in one go?

the default hotkey to delete current line is Ctrl+Y. yes, i too use PSPad.. 8)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: AutoHotKey Tidy or equivalent?
« Reply #8 on: August 07, 2009, 07:47 PM »
The PsPad developer must be a Delphi enthusiast.  They usually do ^Y.  I should have thought to try it.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: AutoHotKey Tidy or equivalent?
« Reply #9 on: August 07, 2009, 07:48 PM »
Vim :) There is a syntax file for Ahk as well. I am sure you can use one of the language files for Ahk indenting.

I have to take a look at vim. When I was playing with Linux I tried vi just enough to see that it would be very powerful, once I quit ripping my hair out. :)

Original address: https://www.donationcoder.com/forum/index.php?topic=19426.0