User Defined Language Files
From notepad-plus
Notepad++ supports over 50 languages through the built-in support provided by the Scintilla component. More languages can be supported, using the User Defined Languages framework. Here is a list of the files that users have contributed to the community so far.
When an archive file is being supplied, it usually contains both an user language definition file and an autocompletion file. Standalone autocompletion files will be featured on this page when some are submitted.
Contents |
Quick access
0-9 | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Links to user defined language files
How to install user defined language files
To add syntax colouring from one of these:
- Unpack to an .xml file, if zipped;
- If you don't have an userDefineLang.xml file already, you can drop this file among your other configuration file, in the Notepad++ Install Folder. It should be named userDefineLang.xml.
- Otherwise, open both the existing and new file.
- Select all of the new file, copy, and paste at the end of the current file.
- This will have created a spurious </Notepad_Plus><Notepad_plus> pair i the middle, each tag on a line by itself. Remove these two consecutive lines.
- Close Notepad++.
Your Languages menu will show the newly added language at the bottom, next time you launch Notepad++.
Contributing new user defined language files
There are basically two ways:
- Edit this page directly - you must have visited the wiki at least once while logged under some Sourceforge ID, and it takes a couple days from that point for you to get write rights. Please insert your entry so that the table remains sorted in alphabetical order. Looking at existing entries should give you a precise idea of the format.
- To provide your email address for credits/contact, there is a {{Maintainer}} template which obfuscates your address for bots, yet allowing it to display clearly as a toolip. The template is documented in Author Toolbox.
- If your language name becomes the first in the table to start with an existing letter, say Г, please move the <span id="Г"></span> to your own entry, so that Quick Access links point to it.
- If your language name is the first ever in the table to start with some letter, say Г, then you need to both
- create a <span id="Г"></span> for your entry;
- turn the inactive letter Г from the Quick Access into a link, by changing it to [[#Г|Г]]
- Use the discussion page to drop inan URL or file contents. The file will be uploaded for hosting on the Notepad++ webspace,and an admin will take care of adding the entry to the master table.
- Email cchris with the file and an email address to quote as a contact address.
Please email cchris also if you wish to submit an autocompletion file only.
