Has anyone made a User Defined syntax highlighting set for Notepad++?
Notepad++ syntax highlighting
Started by
webPragmatist
, May 21 2007 05:11 PM
24 replies to this topic
#1
-
Posted 21 May 2007 - 05:11 PM
Hi!Has anyone made a User Defined syntax highlighting set for Notepad++?
That exists officially. It's bundled with the AutoHotkey installer. Check the following folder on your PC:
C:\Program Files\AutoHotkey\Extras\Editors\Notepad++
The "userDefineLang.xml" file is the syntax highlighting, it should be put to C:\Documents and Settings\...user...\Application Data\Notepad++.
The "AHK Autohotkey.api" is the auto-completion database for AutoHotkey language. This should be put to C:\Program Files\Notepad++\plugins\APIs
:wink:
#2
-
Posted 21 May 2007 - 05:31 PM
Wow, i didn't kniw this one, thanks for this topic !!!
#3
-
Posted 21 May 2007 - 07:05 PM
I have a question though, why aren't events, functions and directives highlighted, wouldn't it be easier to read your code?
#4
-
Posted 22 May 2007 - 03:12 AM
it depends on if the editor supports it. Try PSPad (my favorite). It has at least directives highlighted.
#5
-
Posted 22 May 2007 - 04:11 AM
Maybe Notepad++ also supports that, but the current syntax highlighting file does not contain that yet. Somebody should do it...
#6
-
Posted 22 May 2007 - 12:40 PM
A useful work would be to look in C:\Program Files\AutoHotkey\Extras\Editors\Syntax\Scripts (path might vary): there are scripts to generate some editor-specific syntax files from base (raw/generic) syntax files. The more scripts are made for your particular editor, the easier it will be for Chris to update them.
I should do this task for SciTE...
Now, new keywords don't get added every day, yet it is useful to ensure everything is in synch.
I should do this task for SciTE...
Now, new keywords don't get added every day, yet it is useful to ensure everything is in synch.
#7
-
Posted 22 May 2007 - 02:03 PM
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Hi,
I know this is not a Notepad++ forum, but does anybody know where to put syntax files in Notepad++ portable? I really love Notepad++ having a self-contained directory without configuration files scattered across my system. But I cannot see any dedicated folders for syntax files...
EDIT: OK, found it - just put the xml in Notepad++ root folder
I know this is not a Notepad++ forum, but does anybody know where to put syntax files in Notepad++ portable? I really love Notepad++ having a self-contained directory without configuration files scattered across my system. But I cannot see any dedicated folders for syntax files...
EDIT: OK, found it - just put the xml in Notepad++ root folder
#8
-
Posted 30 March 2008 - 03:55 PM
heh. I've just been using the inbuilt "Autoit"
seems to work just fine...
seems to work just fine...
#9
-
Posted 30 March 2008 - 04:36 PM
rawr. be very afraid
*poke*
. Populate the AutoHotkey city. Pointless but somewhat fun. .
heh. I've just been using the inbuilt "Autoit"
seems to work just fine...
I am new to AutoHotkey and have only used Notepad ++ in it's default configuration.
How do I use the above "builtin Autoit" syntax addin?
thanks
#10
-
Posted 12 April 2008 - 03:35 PM
In notepad++ click Languages -> select 'Autoit' or select 'AHK Autohotkey' if you have installed the syntax plugin.
#11
-
Posted 10 July 2008 - 06:37 PM
Only sleep seems to be highligthed in color
have I done something wrong ( in NOtepad++)
have I done something wrong ( in NOtepad++)
#12
-
Posted 04 June 2010 - 04:06 PM
whoaaa...notepad++ is so cool! I love it. didn't know it existed, been using regular old notepad all this time...! thanks for posting about it and how to get AHK on it.
#13
-
Posted 04 June 2010 - 04:17 PM
have you guys had any issues trying to make notepad++ your default? i followed the steps and it still doesnt work.
#14
-
Posted 04 June 2010 - 06:08 PM
What do you mean by "default"?
If you want to make it your default editor for AutoHotkey scripts, then right click on the script file, and select "Open with". Do not select one of the of the listed programmes.
Browse for Notepad++, and select "Always use this programme" before selecting OK.
If you want to make it your default editor for AutoHotkey scripts, then right click on the script file, and select "Open with". Do not select one of the of the listed programmes.
Browse for Notepad++, and select "Always use this programme" before selecting OK.
#15
-
Posted 18 July 2010 - 12:25 AM