Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you keep Visual Studio tabs sorted

Is there a built in way, or a free add-in, that can keep the tab bar of open files sorted in alphabetical order? Once sorted, how can I get CTRL-PageUP/DOWN (or other shortcut) to jump left/right instead of most/least recently viewed file.

Thanks, Kurt

like image 425
Kurt Avatar asked Feb 12 '09 16:02

Kurt


3 Answers

In VS 2017, using the Productivity Power Tools extension you can navigate to:

TOOLS > Options > Productivity Power Tools > Custom Document Well

Here you'll see a 'Sorting' section, where you can select 'Alphabetically'.

With the new settings applied the CTRL + PAGE DOWN (or in my case, CTRL + ALT + PAGE DOWN) will just flip between next/previous windows.

--

In VS 2019, they aren't able to port the Custom Document Well extension so you'll have to vote for this feature to be added to Visual Studio instead.

--

I don't have VS 2008, so I'm not sure if the path to get to those setting is exactly the same. If you are unable to find it, you should be able to install Productivity Power Tools from the Extensions and Updates module (also located under TOOLS).

Hope that helps!

like image 170
Ryan Gibbs Avatar answered Nov 04 '22 06:11

Ryan Gibbs


It is not perfect but the downward-pointing triangle just to the left of the X that closes the current editor tab does display all currently opened files in alphabetical order.

like image 38
Andrew Hare Avatar answered Nov 04 '22 06:11

Andrew Hare


I use ReSharper's "Go To...":

Go To File
(source: jetbrains.com)

like image 1
Anton Gogolev Avatar answered Nov 04 '22 05:11

Anton Gogolev