How to migrate Notepad++ settings?

57

16

I am trying to portabilize every program I use if possible, and Notepad++ is on the list. The only problem is that I've had a native installation until now so that I'm not totally sure which settings files need to be moved to the portable directory.

Surely there's a function tucked away somewhere in NPP exactly for this purpose, or some plugin out there? I mean the developers have literally thought of everything else, yet this is the one thing I cannot find specifically anywhere in the NPP wiki or otherwise, and I don't want to miss an important file.

Here is the closest I've gotten: Notepad++'s configuration files and Where are all the files?

Should I just copy every configuration file listed on the first link?

NoCatharsis

Posted 2010-05-04T14:11:08.170

Reputation: 2 797

2Those links are both dead. – John Fouhy – 2015-03-17T23:38:40.240

1@NoCartharsis, Why not simply download the portable Notepad++? – Pacerier – 2015-06-18T23:07:47.367

They have NotePad++ for PortableApps: http://portableapps.com/apps/development/notepadpp_portable

– icc97 – 2014-01-09T14:00:46.710

Answers

54

I found the configuration files under
%appdata%\Notepad++.

Jon Van Anda

Posted 2010-05-04T14:11:08.170

Reputation: 556

4

This is the same as %APPDATA%\Notepad++. As from the configuration files link in the question: "Those xml files (except doLocalConf.xml and asNotepad.xml which should be always in Notepad++ Install Folder, and langs.xml, which must be in %APPDATA%\Notepad++\ under Windows Vista or 7) are loaded from %AppData%\Notepad++ or Notepad++.exe's own folder, it depends respectively on the absence or presence of doLocalConf.xml in Notepad++.exe's folder."

– icc97 – 2012-11-01T09:09:30.370

2Unfortunately not all plugins store its config in %APPDATA\Notepad++ directory (e.g. QuickText). – Adam Ryczkowski – 2013-01-27T11:27:28.927

13

Many settings in NP++ can be automatically kept in sync (and migrated) between multiple instances by using Settings > Preferences > Cloud

Preferences > Cloud

The first time you set a cloud location (which can just be any folder path), it'll backup your current settings into that folder and then draw from there going forward. When setting the cloud location on a new machine, it'll read in those files there.

The cloud settings consists of the following items:

Cloud Settings
Note: You might need to remove the existing files with the same name under %appdata%\Notepad++. in order for the cloud storage files to take priority

KyleMit

Posted 2010-05-04T14:11:08.170

Reputation: 3 308

9

You have already found the full list of Notepad++'s configuration files. If I were you, first I would copy the whole Notepad++ folder under the Program Files, and save it for some time. Then I'd start to use all the files listed on the NPP page, and after making sure everything's OK, I'd delete the backup.

Mehper C. Palavuzlar

Posted 2010-05-04T14:11:08.170

Reputation: 51 093

It is not among best practices to backup program together with its config - think viruses. – Adam Ryczkowski – 2013-01-27T11:23:32.120

1But the alternative (cherry-picking the needed config files) has also flaw: if one install yet another plugin, he would need to update the backup configuration to include a bunch of new config files that apply to that plugin. – Adam Ryczkowski – 2013-01-27T11:26:10.537

5

For those who are migrating from Windows XP (yes, I know this is 2012) you can find these files in:

C:\Documents and Settings\[User Name]\Application Data\Notepad++\

RLH

Posted 2010-05-04T14:11:08.170

Reputation: 3 525

2

I just did this. Had to copy both folders below to get everything

C:\Program Files (x86)\Notepad++
C:\Users\"User_name"\AppData\Roaming\Notepad++

Greg GR

Posted 2010-05-04T14:11:08.170

Reputation: 21

1

About specific points:

● To save/restore the changed made through “style configurator”:

If you modify the default theme, then the changes are saved in %APPDATA%\Notepad++\stylers.xml, if you changed another theme (like choco), then the changes ares saved in %APPDATA%\Notepad++\themes\choco.xml You will also find the stylers.xml and the choco.xml in the installation folder(e.i:C:\Program Files (x86)) but these ones are used to restore default.

● To save/restore your pluggins:

Apparently you can only backup the plugins you have installed manually (by dropping them into the pluggin folder). You need to reinstall the plugins using the plugin manager.

JinSnow

Posted 2010-05-04T14:11:08.170

Reputation: 486