Skip to content

Commit

Permalink
Clarify personal function list definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
pryrt committed Feb 6, 2025
1 parent 1f4fab0 commit 3cd4f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/function-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ A mixed parser contains a Class parser (`classRange` node) and a Function parser
## Manually verify that your parser works for you
Once you finish defining your parser, save and name the file as the language name with `xml` as file extension to the `functionList` folder in order to make it work with the language you want. (Check [overrideMap.xml](https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/installer/functionList/overrideMap.xml) for the naming list of all supported programming languages.) Then load a file that uses that parser, and make sure it finds all the functions that you expect, in the appropriate classes.

## Use your own personal function list definition for a built-in language
## Use your own personal function list definition for a built-in language or UDL
If you do not like the results of the default Function List parser that ships with Notepad++ for a particular language, feel free to write your parser rule then save with a unique filename (like `my_languagename.xml`). (_Note_: if you edit the existing `languagename.xml`, the next update may erase your changes.) Use your [overrideMap.xml](https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/installer/functionList/overrideMap.xml) in the functionList directory to override the default mapping of functionList parser rule files and point to your new definition file, or to add a mapping to new UDL parser rule files, as described in the [function list config files](../config-files/#function-list) section of the manual.

## Validating Function List definition files
Expand Down

0 comments on commit 3cd4f8e

Please sign in to comment.