Skip to content

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

@ArkadiuszMichalski

Description

@ArkadiuszMichalski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions