Function List does not work properly after update
-
Because the original program’s FTP function had problems, I upgraded it, but I found that the previously set private programming language
Function List suddenly cannot be recognized. I referred to many documents and re-created the XML file and put it into FunctionList Folder.
Still can’t solve it, what should I do? -
You should probably tell us what version of Notepad++ you upgraded from and what version you upgraded to.
-
In addition to @Alan-Kilborn’s request, you can also go to ?-menu’s Debug Info, and paste that here.
Please also tell us the full path of the filename where you put the XML file – was it
c:\users\___\AppData\Roaming\Notepad++\functionList\XyzPdq.xml
orc:\Program Files\Notepad++\functionList\XyzPdq.xml
or somewhere else?I referred to many documents
Unfortunately, you don’t tell us which ones, so we cannot know whether they were telling you the right thing, or not.
Here are some reasonable documents to consult:
- User Manual: Function List = https://npp-user-manual.org/docs/function-list/#how-to-customize-function-list
- User Manual: Function List Config Files = https://npp-user-manual.org/docs/config-files/#function-list
- Including instructions on how to upgrade from a v7.9-or-earlier FunctionList (from before November 2020) to one that works with modern Notepad++ = https://npp-user-manual.org/docs/config-files/#upgrading-old-function-list-entries
- Community Forum FAQ: Function List Basics = https://community.notepad-plus-plus.org/topic/19480/faq-function-list-basics
re-created the XML file and put it into FunctionList Folder
As per the User Manual, there are two files that need to be edited to add the FunctionList – you need to have the XML specific to your language, and you need to edit the
functionList\overrideMap.xml
– if you didn’t do the latter, then just creating the XML isn’t enough.Also, you have to make sure it’s named correctly, and that you’ve got your User Defined Language (UDL) already set up and working, too.