Sort order of tab bar



  • 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.



  • @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



  • 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?



  • @Rick-Silva

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

    Cheers
    Claudia



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



  • 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


Log in to reply