Welcome Guest.   Make a donation to an author on the site April 16, 2014, 11:00:52 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: AHK Code Highlighting and Code Completion in Notepad++ ?  (Read 3629 times)
Ampa
Charter Member
***
Posts: 589


I am cute ;)

View Profile WWW Give some DonationCredits to this forum member
« on: May 09, 2012, 09:26:25 PM »

I did a Google (other search engines are available) and it looks like code highlighting and completion of AHK in Notepad++ is a mess!

Various xml language files floating around, but nothing official.

A lexer plugin that hasn't worked since Notepad++ 5.7 (current version 6.1.2)

Please someone tell me that a neat solution exists?
 Or do I have to use a different app to write AHK scripts?
Logged
lanux128
Global Moderator
*****
Posts: 6,042



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: May 09, 2012, 09:44:18 PM »

i use PSPad but there are other editors such as SciTE4AutoHotkey and Notepad2-mod. you may have to try a few and see which one is compatible with you.. smiley

http://www.pspad.com/
http://www.autohotkey.net...s/SciTE4AutoHotkey_3/web/
https://code.google.com/p/notepad2-mod/
Logged

Target
Honorary Member
**
Posts: 1,361



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: May 09, 2012, 09:50:36 PM »

I did a Google (other search engines are available) and it looks like code highlighting and completion of AHK in Notepad++ is a mess!

Various xml language files floating around, but nothing official.

A lexer plugin that hasn't worked since Notepad++ 5.7 (current version 6.1.2)

Please someone tell me that a neat solution exists?
 Or do I have to use a different app to write AHK scripts?


that pretty much sums it up - various attempts, but nothing that is 'complete'

not sure that the offerings are any better for any of the other editors, but I prefer notepad++ so YMMV

best I could offer would be to try all the various options and settle on one that you like (or that you can best tolerate)
Logged

"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler
skwire
Moderator
*****
Posts: 3,896



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: May 09, 2012, 10:07:51 PM »

I'm a PSPad user as well.  I like the Code Explorer function for AHK files it offers.
Logged

ewemoa
Honorary Member
**
Posts: 2,228



View Profile Give some DonationCredits to this forum member
« Reply #4 on: May 09, 2012, 10:08:32 PM »

If you can stomach using a separate app, one of lanux128's suggestions:

  http://www.autohotkey.net/~fincs/SciTE4AutoHotkey_3/web/

has (as you might guess) a fair bit of support for AHK -- including debugging (at least for AHK_L):

Quote
    Syntax highlighting
    Calltips (also known as IntelliSense)
    AutoComplete
    AutoIndent
    AutoHotkey help integration
    Abbreviations
    Editing macros
    AutoHotkey_L debugging support
    Tools for AutoHotkey scripting
    A toolbar that enables easy access to the tools

FWIW, I do most of my AHK development in Notepad++ and/or Emacs, but the debugging is way easier to get working (and better supported) with SciTE4AHK, so I tend to use that when testing.  This option is IMHO the easiest to get up and running with in terms of not having to tweak settings and search the net for various syntax-related files...at least compared with the various other options I have tried smiley
Logged
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: May 10, 2012, 04:58:06 AM »

Nice I didn't know PSPad had this built in! I Noticed that there are no longer start menu options to add AHK highlighting to Notepad++ some time back after installing AHK.
Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.034s | Server load: 0.19 ]