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

Ability to manually import / export a Favorites.dat file. #35

Open
ArkadiuszMichalski opened this issue May 17, 2021 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@ArkadiuszMichalski
Copy link

Hi, I work on several versions of NPP and I try to somehow share sessions between them. As far as I can see, this plugin keeps session files in a NPP\plugins\config\Favorites.dat file. It is saved when NPP is closed. To share sessions I have to copy this file, make changes to the sessions path location to ralative, and copy it again to different NPP versions (using external tools).

Please consider some solution to this problem, e.g.:

  • Add the possibility to manually export the Favorites.dat file (I mean the current state of the plugin) by using some command (button, context menu or something else).
  • Add the possibility to define path where Favorites.dat file will be import/export (but support also relative path, for example relative to notepad++.exe or .dll plugin file).
  • Add option to change absolute paths to relative for sessions in the Favorites.dat file (same as above, relative to notepad++.exe or plugin .dll file).
  • Add the possibility to manually import the Favorites.dat file (which we exported earlier at the set location) using some command (button, context menu or something else). It would be nice if after importing the plugin panel was also refreshed for the new state (unless it is difficult, then restarting NPP will also do the job).

This is just an idea, and there are probably many other ways to do it. Although the above should not affect the current state, it is rather an extension of it. If you don't need it, you may not use it.

@funap
Copy link
Owner

funap commented May 22, 2021

Hi @ArkadiuszMichalski
Thanks for the suggestion!
I'll deal with it step by step when I have time.

@funap funap added the enhancement New feature or request label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants