Style/theme settings lost on every N++ update
-
Every single time Notepad++ is updated, my changes to the ‘Style configurator’ settings are lost (I guess overwritten).
Is there a way to prevent this from happening?
-
I have never had that happen when updating using the builtin updater/installer. Notepad++'s installer is not supposed to overwrite existing configuration files in all the years that I have been using Notepad++.
Could you describe the exact process of how you are updating, and how you answer the various prompts you receive?
But, if you don’t want to help solve the problem for others, and just want to work around it for yourself: before updating, make a copy of
%AppData%\Notepad++\stylers.xml
, and then after the update, copy it back.Either that, or copy your stylers.xml to
%AppData%\Notepad++\themes\SanderBouwhuisTheme.xml
, and then select that theme in Style Configurator. From then on, Notepad++ will use your theme. Since Notepad++ installer has no files named SanderBouwhuisTheme.xml, it will definitely not be overwritten. Even if it reverts to default theme, you then just have to select your custom theme again.