Editor with autoformat?

hello guys, quick question here, is there any editor able to format my ahk code with a shortcut?

I used to make C# stuff on VisualStudio and it has a shortcut (think it is control+K+D) to auto format code, but I'm having trouble finding a way to format my ahk code.

Posted Nov 5, 2017, 9:58 AM UTC

04
killchain•
3
Andrius2012OP•

Works perfect thank you so much!

2
GroggyOtter•

You do know there's an entire section dedicated to editors in the "Read This Before Posting!" (which is safe to assume that you didn't) stickied tutorial post, right? The one killchain linked to you is directly from there.

Furthermore, there's an entire doc page dedicated to editors/editing scripts in the AHK documentation.

Edit: Added link to doc page.

1
Andrius2012OP•

I did read the "read this before posting" page, and tried notepad++, scite4autohotkey and visual studio code but had no luck finding a way to format ahk code (maybe they have a way to do it but I didn't find it).

Then I asked on the discord channel, but got no answer, that's why I opened this thread.

2