moudey / Shell

Powerful context menu manager for Windows File Explorer
https://nilesoft.org
MIT License
3.62k stars 121 forks source link

Notepad++ entry does not appear #282

Closed xsm2 closed 1 year ago

xsm2 commented 1 year ago

After the last update of Notepad++ (5.8.3), the "Edit with Notepad++" entry does not appear anymore in shell: imagen

While it works fine in W11 and W10 context menus: imagen imagen

I think this is an issue with shell because it even appears in Files (https://github.com/files-community/Files) context menu: imagen

xsm2 commented 1 year ago

As a temporary fix, if anyone wants to restore the 'Edit with Notepad++' line you can use this, which I think should work the same way as the original entry:

item(title = 'Edit with Notepad++' type='file' image cmd='C:\Program Files\Notepad++\notepad++.exe' arg=@sel.file.name position=middle sep=after)

xsm2 commented 1 year ago

The previous entry had a bug and could open files with spaces in the name, it's fixed with this:

item(title = 'Edit with Notepad++' type='file' image cmd='C:\Program Files\Notepad++\notepad++.exe' arg="\""+@sel.file.name+"\"" position=middle sep=after)

xsm2 commented 1 year ago

I have now realised there was not a bug, a Notepad++ update changed the text and one of the lines of code I was using sundenly started to hide the entry...