[*:2tybjj8t]This is my version of Notepad++'s UserDefinedLang.xml for AutoHotkey syntax highlighting. Made for Notepad++ v5.6.6
Current: v0.5
Download userDefLang.xml
The file goes in %appdata%\Notepad++. Remember to restart npp after the file is changed.
[*:2tybjj8t]I also have an API file for autocompletion of functions and commands with param tips on functions.
Current: v0.1
Download AutoHotkey.xml
Put it in %InstallDir%\plugins\APIs. Remember to restart npp after changes.
Then make sure to go into Settings > Preferences > Backup/Autocompletion tab and turn autocompletion on.
(I prefer: both checked, top option, and "3 th" character)
[*:2tybjj8t]You can download my current sylers.xml here:
Current: v0.1
Download stylers.xmlA screenshot: (v0.4)
All Versions:[*:2tybjj8t]userDefineLang.xml v0.1
[*:2tybjj8t]userDefineLang.xml v0.3
[*:2tybjj8t]userDefineLang.xml v0.4
[*:2tybjj8t]userDefineLang.xml v0.5
[*:2tybjj8t]AutoHotkey.xml v0.1
[*:2tybjj8t]stylers.xml v0.1
Here are some other topics related to AHK code editing in NPP:For those who use Notepad++ (aka npp)
Notepad++ 5.0 autocomplete
Bug in Notepad++ syntax highlighting
Notepad++ definition
Notepad++ syntax highlighting and autocompletion: v0.5, v0.1
Started by
infogulch
, Jan 12 2010 05:31 PM
28 replies to this topic
#1
-
Posted 12 January 2010 - 05:31 PM
Updated.
[*:1rilqv21]Added commas, parens, and other operators to the Operators section. This fixes cases where quoted text comes directly after a paren or other operator but doesn't highlight properly. It also simplifies and fixes command keywords without trailing spaces.
[*:1rilqv21]Added #NoEnv (forgot last time)
[*:1rilqv21]Broke the % highlighting somewhat.
[*:1rilqv21]Added commas, parens, and other operators to the Operators section. This fixes cases where quoted text comes directly after a paren or other operator but doesn't highlight properly. It also simplifies and fixes command keywords without trailing spaces.
[*:1rilqv21]Added #NoEnv (forgot last time)
[*:1rilqv21]Broke the % highlighting somewhat.
#2
-
Posted 20 January 2010 - 12:07 AM
Updated
[*:3kvgm4vk]Added missing keywords
[*:3kvgm4vk]Fixed more operators so keywords are recognized better
[*:3kvgm4vk]Changed the colors around a little bit
[*:3kvgm4vk]Lost v0.2
[*:3kvgm4vk]Added missing keywords
[*:3kvgm4vk]Fixed more operators so keywords are recognized better
[*:3kvgm4vk]Changed the colors around a little bit
[*:3kvgm4vk]Lost v0.2
#3
-
Posted 22 January 2010 - 03:35 AM
Can I see a screenshot before I decide to switch?
I'm also to lazy to 'test' it.
I'm also to lazy to 'test' it.
#4
-
Posted 22 January 2010 - 03:43 AM
rawr. be very afraid
*poke*
. Populate the AutoHotkey city. Pointless but somewhat fun. .
Whoa! I didn't know there was such a thing as being too lazy. :shock:I'm also too lazy to 'test' it.
I added the screenshot.
[edit]I cropped the picture[/edit]
[edit] ...several times[/edit]
#5
-
Posted 22 January 2010 - 04:28 AM
ehm, might consider switching from notepad2 to ++
#6
-
Posted 22 January 2010 - 04:57 PM
Updated.
[*:7zyrzgjo]Slight additions to UserDefineLang.xml.
[*:7zyrzgjo]Linked to all versions in first post.
[*:7zyrzgjo]Added version numbers to all xml files.
[*:7zyrzgjo]Added AutoHotkey.xml API autocompletion! (see first post for details)
[*:7zyrzgjo]Updated screenshot with better example code and to show off autocompletion.
[*:7zyrzgjo]Removed code from first post. (you have to download from files now)
[*:7zyrzgjo]Checked to make sure it works with newest Notepad++ version (5.6.5)
[*:7zyrzgjo]Slight additions to UserDefineLang.xml.
[*:7zyrzgjo]Linked to all versions in first post.
[*:7zyrzgjo]Added version numbers to all xml files.
[*:7zyrzgjo]Added AutoHotkey.xml API autocompletion! (see first post for details)
[*:7zyrzgjo]Updated screenshot with better example code and to show off autocompletion.
[*:7zyrzgjo]Removed code from first post. (you have to download from files now)
[*:7zyrzgjo]Checked to make sure it works with newest Notepad++ version (5.6.5)
#8
-
Posted 25 January 2010 - 02:11 AM
Updated.
[*:2p8ffv0d]Added a couple missing keywords.
[*:2p8ffv0d]Added a link to my current stylers.xml for anyone that wants it.
[*:2p8ffv0d]Added a couple missing keywords.
[*:2p8ffv0d]Added a link to my current stylers.xml for anyone that wants it.
#9
-
Posted 27 January 2010 - 01:58 AM
thank you.
great work
great work
#10
-
Posted 27 January 2010 - 02:25 AM
rawr. be very afraid
*poke*
. Populate the AutoHotkey city. Pointless but somewhat fun. .
Excellent work, I've finally made the switch from toralfs PSPad. You should ask the Notepad++ developers to include your AutoHotkey files in their official release, then Chris can recommend it in the documentation as the preferred editor.
#11
-
Posted 27 January 2010 - 11:41 AM
autohotkey.com/net Site Manager
Contact me by email (polyethene at autohotkey.net) or message tidbit
nice! thank you for this
maybe someone can create a whole package....
a portable notepad++ with everything needed for ahk
it has been done before but its outdated
functionlist plugin doesnt seem to work for me on this new version
heres the rules i use on my older version of npp though
<!-- m -->https://ahknet.autoh... ... tRules.xml<!-- m -->
maybe someone can create a whole package....
a portable notepad++ with everything needed for ahk
it has been done before but its outdated
functionlist plugin doesnt seem to work for me on this new version
heres the rules i use on my older version of npp though
<!-- m -->https://ahknet.autoh... ... tRules.xml<!-- m -->
#12
-
Posted 27 January 2010 - 01:56 PM
Perhaps post the material on the AutoHotkey wiki so more people can maintain it and fix any bugs that might arise for future versions of AutoHotkey and/or Notepad++
#13
-
Posted 27 January 2010 - 02:26 PM
How do you activate userdeflang.xml?
Doesn't seem to work on my Windows 7 computer.
Whats the trick?
Doesn't seem to work on my Windows 7 computer.
Whats the trick?
#15
-
Posted 07 February 2010 - 01:09 PM