Menu

Session files extension

-
2005-11-22
2012-11-13
  • -

    - - 2005-11-22

    Saving sessions is great, but there should be an extension associated with it so users know what those files are and could even double-click to open the notepad++ session.

     
    • Schwabix

      Schwabix - 2007-08-17

      Don,

      The improved handling of session files is so important for me, that I would offer my contribution for this. I've never worked on SF projects before, so you would need to explain the rules :-)

      Also note my feature request for "per directory session files", which already works on my machine.

      I have experience with team development, source control (Perforce, VSS and some other) and Visual Studio (using VS2005 currently). So much for my resume  ;-)

      Schwabix

       
    • Paulius

      Paulius - 2005-11-22

      Hey Don!
      I think there should be a command line option to load session from file. So it would work like this (myProject.xml - any Notepad++ session file):
      notepad++.exe -session myProject.xml

      And, i don't know... Maybe the extension isn't such a bad idea... Notepad++ Session File = nppsf... is .nppsf extension taken? :)

       
      • royerra

        royerra - 2007-06-06

        Is there any progress on this issue?  It seems there have been a lot of posts, but nothing has been resolved.  I would like to add my voice to those requesting this feature:

        Being able to load a session from the command line would make this program a lot more flexible.  I would like to use it to keep ToDo lists where I can have multiple tabs with multiple files load all at once.  This would be a full replacement of note-taking programs like Keynote.  Currently just loading the most recent session is not an option for me, as I use NotePad++ to do all my other coding...

        Thanks,
        Roman

         
        • Don HO

          Don HO - 2007-06-09

          I'll try to implement this feature, but I promise you nothing.

          Don

           
          • royerra

            royerra - 2007-08-17

            Any updates on this?
            Thanks a bunch for your awesome program, Don!
            - Roman

             
      • Nobody/Anonymous

        Hi, as I really needed to open projects from explorer, I've done a small hack: I've associated .session extension with a Notepad++.bat script in Notepad++ directory. This script copies my .session file previously recorded into my application data folder's session.xml file, and then calls Notepad++.
        Here is my script : (save it as notepad++.bat or whatever you want, and then associate it with the extension you want.  Then, save your projects using this extension.)
        ******snip**************
        @echo off
        rem Dumb line : I don't know how to get all the long file name at once... so I get all positional parameters.
        copy "%1 %2 %3 %4 %5 %6 %7 %8 %9" "%HOMEDRIVE%\%HOMEPATH%\Application Data\Notepad++\session.xml" 
        rem I launch with -multiInst option so it launches Notepad++ properly with the loaded session even if it is alrdeady launched.
        "C:\Program Files\Notepad++\notepad++.exe" -multiInst

        rem Hope it'll be usefull, expecting a real command line option to load a given project file.
        rem (c)2006 kermorweb@free.fr - This small script is GPL'd too, even if it's only a dos batch.
        ******snip**************
        Bruno <kermorweb@free.fr>

         
MongoDB Logo MongoDB