I have saved a file named 1.sessions and did make a shortcut to it! But how can I use Notepad++ to open the session by dubble click on my link? When I open it edit the 1.sessions and do not open the session!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using NPP for few years , it is the best editor I know. Sometimes I'm writing source code in C for AVR-GCC. My nightmare is the session file. I used to use session file as a project file, but there isn't any switch in command line to force NPP to load session file (it opens as a text file). The second problem is, the format of this file – why it changes from version to version ?
Yes, I know, NPP isn't an IDE, but one small switch would resolve all my problems.
The solution with session.xml is not good, because I have xml files also associated with NPP :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is an own dialog for Favorites implemented. You can add here Folders, Files, WebLinks and Sessions. Just double click to open one session or to open a file from it.
Best Regards
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Depending on how you work, there might be another approach.
Please note my patch #1777502, allowing N++ to load the file session.xml from the current working directory first. Only if there is no such file, it will load the global session.xml. You have set "Remember the current session for next launch" in Preferences/MISC though.
With this patch you can save different session files (via menu File/Save session) to the main directories of your projects once.
After that you start N++ from a command prompt in this project directory and it will reload whatever this session was. OR create shortcuts to Notepad++.exe with different work directories in their properties.
In both cases N++ will remember the list of opened files seperately for each project.
Schwabix
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have saved a file named 1.sessions and did make a shortcut to it! But how can I use Notepad++ to open the session by dubble click on my link? When I open it edit the 1.sessions and do not open the session!
I'm using NPP for few years , it is the best editor I know. Sometimes I'm writing source code in C for AVR-GCC. My nightmare is the session file. I used to use session file as a project file, but there isn't any switch in command line to force NPP to load session file (it opens as a text file). The second problem is, the format of this file – why it changes from version to version ?
Yes, I know, NPP isn't an IDE, but one small switch would resolve all my problems.
The solution with session.xml is not good, because I have xml files also associated with NPP :-)
There is no possibility at the moment. But you can do it in a different way.
Download latest Explorer plugin from here:
http://sourceforge.net/projects/npp-plugins/
There is an own dialog for Favorites implemented. You can add here Folders, Files, WebLinks and Sessions. Just double click to open one session or to open a file from it.
Best Regards
Jens
Depending on how you work, there might be another approach.
Please note my patch #1777502, allowing N++ to load the file session.xml from the current working directory first. Only if there is no such file, it will load the global session.xml. You have set "Remember the current session for next launch" in Preferences/MISC though.
With this patch you can save different session files (via menu File/Save session) to the main directories of your projects once.
After that you start N++ from a command prompt in this project directory and it will reload whatever this session was. OR create shortcuts to Notepad++.exe with different work directories in their properties.
In both cases N++ will remember the list of opened files seperately for each project.
Schwabix