Menu

File dialog start folder on new file

2008-09-06
2012-11-13
  • DisgruntledGoat

    DisgruntledGoat - 2008-09-06

    Whenever I use the open/save file dialog on a new file, it reverts to the Notepad++ program folder. This should be fixed:

    (1) Firstly there's no reason that folder should ever be used as a default. The 'My Documents' folder is a much more appropriate place to start, *if no other folder can be used*.

    (2) Pretty much every time, there is another folder that should be used. For example if I have open the file "My Documents/Web/site/section/index.html" then when when I make a new file and try to save it, it should default to the last folder used - ie ""My Documents/Web/site/section/".

    This is the most logical since whenever you make a new file it is likely it will relate to the previous file. Even if not the exact same folder it will be close and will save going through a dozen other folders to get back to where you were.

     
    • Karl von Laudermann

      Agreed. Often times I do this:

      1. Launch Notepad++, because it isn't already running

      2. Type some stuff

      3. Hit Ctrl-S

      The save dialog comes up pointing at the Notepad++ program directory, no matter where I last saved a file (on a previous launch), even though I have the "Remember last directory" checkbox checked. It should at least default to My Documents, because the Notepad++ program directory is *never* an appropriate save location.

       
    • Flite

      Flite - 2008-09-13

      Preferences > MISC > 'Remember last operational directory' remembers the last directory you save a file to.

       
    • DisgruntledGoat

      DisgruntledGoat - 2008-09-17

      No, that setting is broken. It blindly remembers the last directory explicitly used. And it uses it for all operations, not just those where an appropriate directory cannot be determined.

      So what I mean is, it should use the directory of the current file if there is one open, otherwise use the directory of the last file used. If I'm editing a file in folder "x", close that file then try to open a file it shoud default to the folder "x".