Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

notepad++ syntax highlighting color scheme


  • Please log in to reply
23 replies to this topic
panofish
  • Members
  • 179 posts
  • Last active: Apr 24 2014 03:24 PM
  • Joined: 05 Feb 2007
I thought I'd share my notepad++ color scheme...
This works in notepad++ v5.9.4

Put the userDefineLang.xml file into your notepad++ directory (or appdata notepad++ directory).
Restart notepad++ if it is already running.
Open an autohotkey script that has a .ahk extension.
Select Language / AHK AutoHotkey.
Select Settings / Style Configurator / Zenburn theme.
Select Settings / Style Configurator / Global Style / Default Style - Font = Consolas 10pt
I also have those global enables unchecked (global font, global font size, global bold...)

I highly recommend you turn on "ClearType" font smoothing for windows.
Go to you windows display properties (control panel) and find the Appearance tab and click the Effects button.
Enable and select cleartype for screen font smoothing!

http://panofish.net/...rDefineLang.xml

Posted Image

Lucid_Method
  • Members
  • 147 posts
  • Last active: Dec 06 2014 08:39 AM
  • Joined: 19 Apr 2010
Nice look, think I'll try it thanks :-)
Posted Image
Macro Everything
Lucid_Method Index

Relayer
  • Members
  • 122 posts
  • Last active: Jun 22 2015 09:21 PM
  • Joined: 24 Nov 2008
For whatever reason I can't get this to work on v.5.8.5

Puzzling

-R

panofish
  • Members
  • 179 posts
  • Last active: Apr 24 2014 03:24 PM
  • Joined: 05 Feb 2007
Sorry, make sure you select the zenburn theme in notepad++ style configurator.

Relayer
  • Members
  • 122 posts
  • Last active: Jun 22 2015 09:21 PM
  • Joined: 24 Nov 2008
Thanks, that was it.

x79animal
  • Members
  • 1021 posts
  • Last active: May 14 2013 04:21 PM
  • Joined: 01 May 2010
cant find it as a theme...

put it at

C:\Program Files\Notepad++\userdefinelang.xml

panofish
  • Members
  • 179 posts
  • Last active: Apr 24 2014 03:24 PM
  • Joined: 05 Feb 2007
Yes.. put the userDefineLang.xml file into your notepad++ directory.
You may have to merge this file with your own if you already have some user defined languages in your xml file.

Then select Settings / Style Configurator / Zenburn theme

Finally, select Language / AHK AutoHotkey

x79animal
  • Members
  • 1021 posts
  • Last active: May 14 2013 04:21 PM
  • Joined: 01 May 2010

Yes.. put the userDefineLang.xml file into your notepad++ directory.


nope the theme just isnt showing up....

Posted Image

panofish
  • Members
  • 179 posts
  • Last active: Apr 24 2014 03:24 PM
  • Joined: 05 Feb 2007
Hard to believe they would have removed all the themes.
I'm running 5.6.7 at home and a newer copy at work (don't know exact version)

Here's my list of themes that came with notepad++.

Posted Image

Okuu
  • Members
  • 44 posts
  • Last active: Mar 11 2011 05:30 PM
  • Joined: 22 Mar 2010
I tried this out and it is not working for me as well. I put the theme to Zenburn and the .xml is in both the Notepad++ directory and the Themes directory.

Also, the xml provided doesn't look complete.

panofish
  • Members
  • 179 posts
  • Last active: Apr 24 2014 03:24 PM
  • Joined: 05 Feb 2007
OK... I did a fresh test with the latest versions of notepad++ 5.8.6 (unicode and ansi versions). This also worked with my previous version 5.8.3.

I put the userDefineLang.xml file into the notepad++ directory.
Restart notepad++ if it is already running.
Open an autohotkey script that has a .ahk extension.
Select Language / AHK AutoHotkey.
Select Settings / Style Configurator / Zenburn theme.

The color coding works fine.

tidbit
  • Administrators
  • 2709 posts
  • Hates playing Janitor
  • Last active: Jan 15 2016 11:37 PM
  • Joined: 09 Mar 2008
I like this theme a lot :) thanks. not emo dark, not hard-to-see light.

Just a couple mods and I'm almost happy.


edit: may I suggest you post the xml code in here, in code tags? just incase that site ever goes down. Maybe even submit it to notepad++ to include AHK in the language menu. or maybe just as a download on there site.

edit2: Been using it for a little while now and noticed a lot of keywords are missing. :?

rawr. be very afraid
*poke*
. Populate the AutoHotkey city. Pointless but somewhat fun. .


panofish
  • Members
  • 179 posts
  • Last active: Apr 24 2014 03:24 PM
  • Joined: 05 Feb 2007

edit2: Been using it for a little while now and noticed a lot of keywords are missing. :?


Which keywords?

Cragaha
  • Members
  • 265 posts
  • Last active: Jan 04 2016 02:24 AM
  • Joined: 19 Nov 2010
Been using this one for a while, I just changed the keywords list, I think they are all there now..
[Download]

Thanks a million panofish, very nice scheme

panofish
  • Members
  • 179 posts
  • Last active: Apr 24 2014 03:24 PM
  • Joined: 05 Feb 2007
Updated to include most missing ahk keywords.
Tweaked and added some colors in the scheme.
Updated the screenshot image.