Community
    • Login

    Sort order of tab bar

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 2 Posters 6.9k 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.
    • Rick SilvaR
      Rick Silva
      last edited by

      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.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Rick Silva
        last edited by

        @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
        • Rick SilvaR
          Rick Silva
          last edited by

          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?

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @Rick Silva
            last edited by

            @Rick-Silva

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

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • Rick SilvaR
              Rick Silva
              last edited by

              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
              • Claudia FrankC
                Claudia Frank
                last edited by

                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
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors