bruderstein / nppPluginManager

Notepad++ Plugin Manager
http://www.brotherstone.co.uk/npp/pm/
GNU General Public License v2.0
1.67k stars 223 forks source link

Plugins not visible when downloaded through PluginManager #139

Open saudansari opened 5 years ago

saudansari commented 5 years ago

Description of the Issue

If i download any plugin using PluginManager, that plugin doesn't appear on Npp. The downloaded file is found in AppData\Roaming\Notepad++\plugins. If I manually copy that into AppData\Local\Notepad++\plugins by creating a folder with the same name of the plugin and place the plugin dll within that folder, then i can see the plugin in Npp.

Steps to Reproduce the Issue

  1. Installed Npp(64 bit) latest v7.6
  2. Using Plugin Admin installed PluginManager, then installed the updated version of the PluginManager
  3. Using Plugin Manager installed XML Tools Did not find XMLTools in NPP
  4. Found the XMLTools.dll in AppData\Roaming\Notepad++\plugins folder.
  5. Went to AppData\Local\Notepad++\plugins folder
  6. Created a folder XMLTools in AppData\Local\Notepad++\plugins
  7. Copied XMLTools.dll into AppData\Local\Notepad++\plugins\XMLTools
  8. Opened Npp and XMLTools was visible

Expected Behavior

I shouldn't have to do the manual step of copying the plugin dll from AppData\Roaming\Notepad++\plugins folder to AppData\Local\Notepad++\plugins folder

chcg commented 5 years ago

@saudansari PM up to current 1.4.12 is not compatible with the changes from N++ 7.6 and also 7.5.8(see #127)/7.5.9 which introduced the plugins in subfolders instead of directly inside of the plugins dir is not fully supported.

Not sure if this change from N++ could be supported by the current codebase of PM at all. And if backwards compatibility with older N++ versions could be achieved.

RobertTanenbaum commented 5 years ago

Plugin Manager is totally broken with the new 7.6.1 release of Notepad++ because now plugins are found in %PROGRAMDATA% (C:\ProgramData\Notepad++\plugins)