Notepad++ says it cannot find the
I previously posted a question and got some help, “https://community.notepad-plus-plus.org/topic/24060/how-to-add-or-install-pork2sausage-to-notepad”, that I was not able to figure out how to use that help to fix the Pork2Sausage installation problem.
So, I uninstalled and reinstalled Notepad++.
Now, when I open Notepad++, I get a message telling me that “C:\Users\marc\AppData\Roaming\Notepad++\plugins\Config\pork2Sausage.ini” is not present.
I did a search for files I thought are significant and found the following files:
- C:\Program Files\Notepad++\plugins\pork2sausage\pork2sausage.dll
- C:\Program Files\Notepad++\plugins\pork2sausage\Config\pork2Sausage.ini
So, the pork2Sausage.ini file and the pork2sausage.dll are both present on my PC.
The page “https://npp-user-manual.org/docs/plugins/#install-plugin-manually” does not explain how to fix a plugin installation that did not get done right, which I think is what happened in my case.
I’m not sure I’d be able to figure out what info to put into the ini info myself anyway; I’m hoping to find a utility that will fix the ini problem automatically.
But if someone has any tips about how to fix it, I’d appreciate the tips. Maybe some other file needs to be modified by stating where the pork2Sausage.ini file is located. But I don’t know which file that is.
Thanks in advance for any suggestions.
Can you show your ? menu’s Debug Info?
I ran some experiments. It had nothing to do with version, nor with whether it was local-config or AppData config, like I was originally thinking when I asked for the Debug Info.
Apparently, that plugin does not automatically install its config file when it gets installed, and instead just stores it in a subdirectory of the plugin’s installation directory.
You will want to exit the Notepad++ application; then copy
C:\Users\marc\AppData\Roaming\Notepad++\plugins\Config\pork2Sausage.ini; then restart Notepad++ – the error message should stop at this point, and Plugins > Pork to Sausage will now list some example converters, as well as a command to edit the User Commands. (Please note: unless you have an ancient version of java where Don had them, and have a working directory already created under Don’s personal user name, the default pork2sausage.ini commands will not work for you.)
Other readers of this topic: since your username is likely not
marc, you should copy the source ini to
%AppData%\Notepad++\plugins\Config\pork2Sausage.ini, which uses the Windows OS Envioronment Variable
%AppData%🛈 to find the right hiearchy based on the active username and settings.