I downloaded NP 5.4.5, the exe installer, and the FunctionList Unicode installer, and FunctionList is not working. I placed the dll in the plugins folder, and the other 2 function list files in the plugins/Config folder. When the function list is turned on it only says, "No Rules Defined". I tried moving the rules file around to different places but couldn't get it to work. Please help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just upgraded to 5.4.5 unicode (used to use ANSI but thought it was time to use the version everyone is migrating to). However, even after following all the posts above I still can't get the function list to work. I'm using the unicode dll and have the xml files in the right place.
The function list says 'Function List - 100%' but there's nothing in the list for Java files which previously worked.
On Javascript files it says 'Function List - 100%' and there's a single entry in the list saying 'FUNCTION'.
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This seems to happen if the rules files are not added to the Config directory the first time the plugin is run. It creates a file with a .xml! or some such strange extension, I can't remember exactly. The trick is simply to remove all the files FunctionListRules.* and C++.* from the config directory. It's worth checking your %APPDATA%\Notepad++\plugins\config directory too - it could be that that is your plugin config directory.
Once you've removed these files, I'd recommend installing the functionlist plugin from the plugin manager, as that will get put everything in the right place for you.
Dave.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Which highlighter were you using when FunctionList reported No rules defined? If the language is not supported in the rule files, you have to write the rules - and it would be nice to share them then.
The files are just right. FunctionListRules.xml lives in the plugins\config folder. C++.ftb is a bitmap file which is also expected there. FunctionList.dll, as expected, is expected in \Plugins.
As Dave mentioned, chances are that you have stuff both in %APPDATA% and Notepad++ folder. You hav a choice to make. If the %APPDATA% stuff is to be discarded, adding a zero byte long doLocalConf.xml along Notepad++.exe forces it to read local config first. This has settled issues very often.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes. You are correct, first time I used the plugin I did not have the .xml and the .ftb files in the NPP install config directory. A 2 line readme file in the plugin zip file would have been nice and prevented that from happening.
Moving the .xml and the .ftb files to %APPDATA%\Notepad++\plugins\config corrected the problem.
Thanks! I love this feature!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Found another problem with Function List. It says No Rules Defined for user defined languages if the language menu is set to compact. Simply disabling the compact option made the rules work again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ah yes, thanks, that works for the Javascript file. Still nothing for Java.. 'Show All Functions' was already ticked. Maybe it never worked for Java & I'm delusional :-D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded NP 5.4.5, the exe installer, and the FunctionList Unicode installer, and FunctionList is not working. I placed the dll in the plugins folder, and the other 2 function list files in the plugins/Config folder. When the function list is turned on it only says, "No Rules Defined". I tried moving the rules file around to different places but couldn't get it to work. Please help.
I've just upgraded to 5.4.5 unicode (used to use ANSI but thought it was time to use the version everyone is migrating to). However, even after following all the posts above I still can't get the function list to work. I'm using the unicode dll and have the xml files in the right place.
The function list says 'Function List - 100%' but there's nothing in the list for Java files which previously worked.
On Javascript files it says 'Function List - 100%' and there's a single entry in the list saying 'FUNCTION'.
Any ideas?
Double click on the entry, and you'll see all the functions.
Also using the "Show All Functions" option in the plugin menu may help with java.
CChris
Is there way way to get the FUNCTION heading to always expand? Or is it programmed like that for a reason?
This seems to happen if the rules files are not added to the Config directory the first time the plugin is run. It creates a file with a .xml! or some such strange extension, I can't remember exactly. The trick is simply to remove all the files FunctionListRules.* and C++.* from the config directory. It's worth checking your %APPDATA%\Notepad++\plugins\config directory too - it could be that that is your plugin config directory.
Once you've removed these files, I'd recommend installing the functionlist plugin from the plugin manager, as that will get put everything in the right place for you.
Dave.
Which highlighter were you using when FunctionList reported No rules defined? If the language is not supported in the rule files, you have to write the rules - and it would be nice to share them then.
The files are just right. FunctionListRules.xml lives in the plugins\config folder. C++.ftb is a bitmap file which is also expected there. FunctionList.dll, as expected, is expected in \Plugins.
As Dave mentioned, chances are that you have stuff both in %APPDATA% and Notepad++ folder. You hav a choice to make. If the %APPDATA% stuff is to be discarded, adding a zero byte long doLocalConf.xml along Notepad++.exe forces it to read local config first. This has settled issues very often.
CChris
Yes. You are correct, first time I used the plugin I did not have the .xml and the .ftb files in the NPP install config directory. A 2 line readme file in the plugin zip file would have been nice and prevented that from happening.
Moving the .xml and the .ftb files to %APPDATA%\Notepad++\plugins\config corrected the problem.
Thanks! I love this feature!
Found another problem with Function List. It says No Rules Defined for user defined languages if the language menu is set to compact. Simply disabling the compact option made the rules work again.
Ah yes, thanks, that works for the Javascript file. Still nothing for Java.. 'Show All Functions' was already ticked. Maybe it never worked for Java & I'm delusional :-D