• Login
Community
  • Login

Sort order of tab bar

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
6 Posts 2 Posters 7.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Rick Silva
    last edited by Feb 2, 2017, 4:36 PM

    What controls the sort order of the files on the tab bar? I have files like step_1_description.sql, step_2_other_description.sql and step_11*.sql appears before step_2*.sql.

    C 1 Reply Last reply Feb 2, 2017, 5:11 PM Reply Quote 0
    • C
      Claudia Frank @Rick Silva
      last edited by Feb 2, 2017, 5:11 PM

      @Rick-Silva

      first of all, it orders in the way you open the files.
      When using sort tabs from window->windows menu,
      then you can choose sorting by name, path and extension.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 1
      • R
        Rick Silva
        last edited by Feb 2, 2017, 6:03 PM

        Thanks for the info! I have been opening the files from the command line (cmd) using a wildcard for the file names, using this command:

        start notepad++ *

        I can see you are right because when I do a “dir” the files appear in the same order they appear in notepad.

        Does anybody do a similar thing? Any way to get the files sorted correctly from left to right in the tab bar?

        C 1 Reply Last reply Feb 2, 2017, 6:19 PM Reply Quote 0
        • C
          Claudia Frank @Rick Silva
          last edited by Feb 2, 2017, 6:19 PM

          @Rick-Silva

          menu window->windows
          click on name and then on sort tabs.

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • R
            Rick Silva
            last edited by Feb 2, 2017, 6:24 PM

            Thanks. That works once but next time I edit the files it sorts them incorrectly again. Any way to make it sticky?

            1 Reply Last reply Reply Quote 0
            • C
              Claudia Frank
              last edited by Feb 2, 2017, 6:43 PM

              If you start npp with the remember current session … setting
              (Settings->Preferences->Backup)
              but this doesn’t work if you open npp from the commandline with a wildcard flag.

              Or you could save this session and start npp from the command line with the -openSession filename
              parameter.

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 1
              2 out of 6
              • First post
                2/6
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors