is there a way to move files up and down inside a list of opened files
I need a custom sort - up and down possibility - inside list of opened files
is it possible somehow ?
it is possible inside tab bar - but the tab bar is not so suitable if many files are open
Alan Kilborn last edited by
Are you talking about moving Notepad++'s tabs around?
@alan-kilborn no, just moving file name up and down inside document list (list of opened files).
for example - you open index,php - and some other files - and iindex.css at the end.
Now you want index.php and index.css to be together - and trying to drag/drop them - not possible
mkupper last edited by mkupper
Is using the keyboard ok?
Ctrl-Shift-PageDownmove the current open tab left/right in the list of tabs. I think the tabs are what you mean by the “list of opened files.” BTW, that trick also works in Firefox and likely other tabbed interfaces.
@mkupper no, as I said - tabs are not suitable if a lot files are open.
List of opened files - named Document List - is what I’m talking about
once again - List of opened files - named Document List - is what I’m talking about
not about tabs
PeterJones last edited by PeterJones
Side note: there are multiple “lists of opened files”, including the tab bar, the Window menu, the Window > Windows… dialog, the popup that occurs during
Ctrl+Tabtab-selection, and, oh yeah, the Document List. If you had just used the official term “Document List” in your original question, rather than waiting until multiple forum users tried to get you to clarify which feature you were asking about and started annoying you, you would have saved multiple back-and-forth (and your annoyance). For future reference, when asking about a specific feature of Notepad++, you should use the name given in the menu which accesses it, or the name given on the dialog, window, or sidebar, so that there is no confusion about which feature you mean.
But to your question: as documented in the npp-user-manual.org’s Views page, Panels section (emphasis added):
The Document List toggle will display the Document List panel, which lists all the open documents and allows easily switching between them. (Prior to v8.1.3, the panel was known as the Doc Switcher panel and controlled through the General preferences, but that name was confused with the Document Switcher Ctrl+TAB settings in MISC preferences.) The Document List can be sorted by Name (or Extension or Path, if columns enabled) by left-clicking on the header. To view the extension separately from the filename, right click on the header and enable the Ext. column (as of v8.1.5; prior to that, it was in the General settings). To view the path in Document List panel, right click on the header and enable the Path column (new to v8.1.5).
As the manual shows, it can be sorted by name or extension or by path. Custom ordering (dragging from one place to another) is not a feature of the Document List panel. But since your goal was to have
index.cssnext to each other, that would happen if you left-clicked on the name column to have it sort by name.
Addendum: the default sort order for that panel matches the order of the tabs, so if you manually re-order the tabs, it will change the order in the Document List panel. So, while you might not have liked it, the suggestions to move the tabs around would also accomplish the goal of changing the order in the Document List.
ABC MEMENTO last edited by ABC MEMENTO
tab bar is not a list of opened files - it’s a tab bar
windows menu and popup window have the list - but in that case everyone would normally said - windows menu or popup window
ctrl tab popup - the same as above
also - in my second post I clearly said - just moving file name up and down inside document list
custom sort would be good - because one can have a lot of index files - various extensions
in my case - sorting by name is ok and good enough
thanks a lot
Imbalance last edited by
@mkupper Thanks, I was just looking a way to move items up and down in the “Document list” pane, and that’s exactly the way (Ctrl-Shift-PageUp and Ctrl-Shift-PageDown). Awesome.