Menu

Request: Open all files in a directory (drag)

2007-10-26
2012-11-13
  • Paul Gregory

    Paul Gregory - 2007-10-26

    I often find myself dragging files into Notepad++ to open, and it would be a handy time-saver to be able to drag an entire directory in.

    Currently if you try, an error dialog pops up saying "Cannot open file R:\directoryname".

    Could this instead load all the files from that directory?

    Better yet, could this load all the files that have recognised extensions (ie ignoring .gif files etc)? That might be a config option. I guess "recursive" would be a useful setting also.

    Notepad++ is great and keeps getting better, btw.

     
    • Nobody/Anonymous

      Did you try dragging mulitple files at once?

      Just select all files in the directory in Eplorer (CTRL+A) and drag them to NP++.

      You might as well sort on "registered file type" first.
      There is, unfortunately, no way I know to sort files in Explorer by their real extension.

       
      • Paul Gregory

        Paul Gregory - 2007-10-26

        Yes, dragging multiple files works brilliantly and I already do that often.

        But obviously that means:
        1) Click on directory to open it
        2) Selecting all the files I want
        3) Drag files to NP++

        What I want to instead is:
        1) Drag directory to NP++

        purely because it saves two steps. If I can save the filtering step too, so much the better.

        If NP++ opened all files whenever passed a directory name, it should also be possible to add a "Open contents in Notepad++" right click context menu action to folders, which would be neat.

        (Incidentally, I *can* sort files by their real extension, but that's because I use Directory Opus as my file manager rather than Explorer.)