Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Sort order of tab bar

    Help wanted · · · – – – · · ·
    2
    6
    4730
    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 Silva
      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 Frank 1 Reply Last reply Reply Quote 1
      • Claudia Frank
        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 2
        • Rick Silva
          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 Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            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 Silva
              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 Frank
                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
                Copyright © 2014 NodeBB Forums | Contributors