Wiki
Version 4 (modified by todd.a, 15 years ago)

Added a paragraph regarding the colors.

This page contains information on how to get syntax highlighting and function list support in  Notepad++.

Syntax Highlighting

To add syntax highlighting support copy the UserLang? node for Cobra from the userDefinedLanguage.xml file attached below.

Place this XML node in the userDefinedLang.xml file at

%appdata%\Notepad++\userDefinedLang.xml

If this file does not exist then copy the entire file over.

Note that the colors used are more geared towards themes with a darker background (the majority of them). This is so because the way user defined languages are handled at the moment is by explicitly setting the colors and not a class name. These colors might make it a bit hard to comfortably read text with the default theme, which has a background color of white. To change your theme go to Settings >> Style Configurator.

FunctionList support

FunctionList? is provided as a plugin for Notepad++ so first be sure to install the plugin. To install download the plugin from  http://sourceforge.net/projects/npp-plugins/files/, unzip, then copy the DLL to

%programfiles%\Notepad++\plugins
or
%programfiles(x86)%\Notepad++\plugins if installed to the x86 Program Files directory on 64-bit Windows.

Next, copy the Language node for Cobra found in the FunctionListRules?.xml file attached below. Place this XML node in the FunctionListRules?.xml file at

%appdata%\Notepad++\plugins\config\FunctionListRules.xml

If the file does not exist then copy the entire file.

Attachments