Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export settings to an xml file #342

Closed
gjb56 opened this issue Jun 26, 2015 · 12 comments

Comments

@gjb56
Copy link

commented Jun 26, 2015

When using NP++ on multiple PCs it would be great to be able to export/import all the settings to an xml file

@Croydon

This comment has been minimized.

Copy link
Contributor

commented Jun 26, 2015

Related to this: I would whish that you can easily change the path where all settings are getting saved. Notepad++ can never support all cloud/synchro apps, but if I could change the path to the directory which gets synchronized it should work fine with the most things.

@dail8859

This comment has been minimized.

Copy link
Member

commented Jun 26, 2015

I agree with this idea. It might work better if the settings were exported to a zip of all the XML files, since it really wasn't designed to glob all the XML settings in a single file.

@Croydon Don mentioned in gitter this would most likely be in a future release, due to the difficulty in locating directories of multiple cloud services across several OSs.

@xylographe

This comment has been minimized.

Copy link
Contributor

commented Jun 26, 2015

@Croydon Replace $APPDATA/Notepad++ with a symlink to your preferred location.

@Rikk

This comment has been minimized.

Copy link
Contributor

commented Jun 27, 2015

Better install it portable, on a writable folder? You'll have all files together, which you can compress and extract in any other computer.

@milipili milipili modified the milestone: 6.x Jun 29, 2015

@milipili

This comment has been minimized.

Copy link
Contributor

commented Jul 10, 2015

see 5e24014. If this modification does not suit you, feel free to re-open this issue.

@milipili milipili closed this Jul 10, 2015

@milipili milipili added the feature label Jul 10, 2015

@milipili milipili changed the title Feature Request: Export settings to an xml file Export settings to an xml file Jul 10, 2015

@gjb56

This comment has been minimized.

Copy link
Author

commented Jul 12, 2015

I don’t understand 5e24014 5e24014 but to me it doesn’t appear to address saving the preferences to on location.

From: Damien GERARD [mailto:notifications@github.com]
Sent: Friday, July 10, 2015 10:40 AM
To: notepad-plus-plus/notepad-plus-plus
Cc: gjb56
Subject: Re: [notepad-plus-plus] Feature Request: Export settings to an xml file (#342)

see 5e24014 5e24014. If this modification does not suit you, feel free to re-open this issue.


Reply to this email directly or view it on GitHub #342 (comment) . https://github.com/notifications/beacon/AMdVYBmq223zHiwpUBmJSorAaN5JCPckks5ob97cgaJpZM4FMlY2.gif

@Rikk

This comment has been minimized.

Copy link
Contributor

commented Jul 12, 2015

Yea, @milipili, that commit has no relation to this "issue" -- for which I also don't see a real point.

@dail8859

This comment has been minimized.

Copy link
Member

commented Jul 12, 2015

@gjb56 maybe you could describe your feature a bit more? That way we have a better idea.

@gjb56

This comment has been minimized.

Copy link
Author

commented Jul 13, 2015

One of the big positives' for NP++ is a plethora of user settings. Under the settings tab you configure preferences, shortcut mapper and style configurator. I find myself always experimenting (especially with the style configurator). I would like to EXPORT these setting to an xml file that I could import on other PCs.

@Rikk

This comment has been minimized.

Copy link
Contributor

commented Jul 13, 2015

preferences, shortcut mapper and style configurator

You currently need to copy just a few xml files: config.xml, shortcuts.xml, themes\your style.xml.
It looks more organized keeping them separate; why merge them for split later?

@gjb56

This comment has been minimized.

Copy link
Author

commented Jul 13, 2015

I understand there is a work around, it is just not very clean.  There is still no import/export function.  Plus I count 11 xml files.  

Gary J Budnik
972.953.7103

-------- Original message --------
From: Ricardo notifications@github.com
Date:07/13/2015 11:43 (GMT-06:00)
To: notepad-plus-plus/notepad-plus-plus notepad-plus-plus@noreply.github.com
Cc: gjb56 gbudnik@ngnservices.com
Subject: Re: [notepad-plus-plus] Export settings to an xml file (#342)
preferences, shortcut mapper and style configurator

You currently need to copy just a few xml files: config.xml, shortcuts.xml, themes/your style.xml.
It looks more organized keeping them separate; why merge them for split later?


Reply to this email directly or view it on GitHub.

@glennfromiowa

This comment has been minimized.

Copy link

commented Feb 27, 2017

This issue has come up again, and although it's old, just wanted to bring up a couple of points:

  1. Commit 5e24014 does appear to address saving settings in an alternate location. That's awesome; I didn't know about that before.
  2. However, it doesn't address backing up the settings, and only locates certain settings in the cloud.
    a. In addition, it doesn't address backing up plugins, themes, etc. or any settings used for them.

As I understand it, there are 3 places config files can be:

  1. In the user's AppData folder
  2. In the install folder for Notepad++
  3. In the folder specified by the cloud\choice file

Although it's possible to determine which location is being pulled from, especially using the Debug Info in Notepad++, there are enough questions on the forums about settings not being saved (like this post, or this one ) to indicate that's confusing to many users. And although it is possible to just copy the files from the appropriate location to make a backup, since many users are confused about which location Notepad++ is using, I think it would be an excellent idea to have an Export Settings option available, since Notepad++ already knows where it's pulling the settings files from. It should not only copy the 10† files mentioned in Configuration Files, but also the folders plugins, themes, and possibly localization, which may be in a different location than the main configuration files.

session.xml appears to not be saved in the cloud location, which probably is appropriate - it should remain saved locally, but, oh, I would be lost if it forgot which files I was editing!!! However, there is already a Save Session option available for that purpose.

I think @dail8859 had the best idea:

It might work better if the settings were exported to a zip of all the XML files, since it really wasn't designed to glob all the XML settings in a single file.

It wouldn't need to be in a zip file necessarily, although that would give the functionality requested. I'm planning to open a new issue on this, unless I hear back that it would be better to re-open this one?

Edited to include examples of forum posts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.