Menu

#68 Path of Analyse Plugin setting file need to be corrected

1.12-preview
closed
nobody
None
Bug
5
2019-12-30
2019-06-30
Mattes H.
No

With version 1.11 Rev. 37:37 of Analyse Plugin, the .ini and .xml settings are stored here:
%APPDATA%\Notepad++\plugins\Config
This is not ok when making use of Notepad++ portable.

Please fix settings load/save so that the proper directory is used:
%NPP_PLUGINS_CONFIG%
Where %NPP_PLUGINS_CONFIG% is the real path of Notepad++ plugin configuration files.

Please note, the variable name could be different from the one I reported above, but it is enough to describe the issue.
see https://sourceforge.net/p/analyseplugin/discussion/1662530/thread/e656aa02dd/#68e7

Discussion

  • Mattes H.

    Mattes H. - 2019-12-30

    Hi,
    I reviewed the situation and yes, I changed the code to use NPPM_GETPLUGINSCONFIGDIR, which was a valuable hint.
    However, this does not change the situation from your end, because replicated implementation in AP did and does behave the same way as NPP PluginManager.

    Coming to your problem, I guess using the file doLocalConf.xml with 0 byte would probably solve your problem.

     
  • Mattes H.

    Mattes H. - 2019-12-30
    • status: accepted --> closed
     
  • Mattes H.

    Mattes H. - 2019-12-30

    fixed in 1.12

     
  • Pidgeon

    Pidgeon - 2019-12-30

    I tried this version and now the problem seems to be solved, indeed:

    https://sourceforge.net/projects/analyseplugin/files/binaries/v01.12-preview/

    Thanks for your suggestion, but in my portable NP++ copy the 'doLocalConf.xml' already existed in the base folder.

    Great work, though!

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB