

When you're happy, click Export and save that file somewhere safe so next time you reinstall Notepad++ you don't have to start again. I just switched all the black color white, switched white to black and made all the colors more vibrant versions of them selves (With the exception of the section "Keywords>1st Group" - I made it yellow instead of green so it's not the same color as comments) (Also reds are bit more pink so they stand out better). When you click on Styler, and stlye window will appear allowing you chose the foreground and Background color of each section. The rest of the window is made up of multiple sections, ignore 99% of it, you're only interested in the "Styler" button in each section, also note there are 4 tabs of sections "Folder & Default", "Keywords" and so on. Then Click Save-As in the top row of buttons, and give it a logical name like AHK_DarkMode. In the top left, select AutoHotkey in the User language Drop down menu. Ensure "Enable Global Font Colour" is unchecked, else it will force all text to be that color.Īfter successfully installing the Syntax-Highlighting file as instructed, in the menu go to Language>User Defined Language>Define your language. Select Language:"Global Styles", and Style:"Global Override". If it works fine or at least better, then the problem may be due to an interference from a plugin of the installed version.įor anyone looking for a Dark Mode Version of the Language Style, it's really easy to do your self.įirst, ensure the global Sylte Configurator isn't overridding the font color I also noticed that sometimes there are problems with highlighting -nothing surprising, since I use quite a lot of plugins and enhancements-, but anyway they are solved by selecting Normal language and then going back to AutoHotkey -of course, I do it with a scriptįinally, I would suggest you to install the portable version of Notepad++ 7.9.5 -version 8 is very new and has issues- and see what happens. I use the Function List instead and it works fine. Regarding the Folding feature, I hardly use it but I have noticed that it has problems. In the quoted post I was referring to the installation process, which had recently changed. I've made a post on Npp's forums about this, but so far no fix has presented itself. The above mentioned "trick" of clicking on Languages->AutoHotKey to temporarily fix the problem does not work for me. I'm having this problem (bad highlights, bad "fold" groupings, etc) and I've already got userDefineLang_AHK.xml in the directory.


AutoHotkey should be listed under the Language menu. Quit Notepad++, copy the userDefineLang_AHK.xml file and paste into the userDefineLangs directory.

,, problems persist, this worked for me for the current portable version (7.9.3) and Windows 7 (it should be the same for Windows 10):
