Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2010 Only show file names in tabs

My website has several nested folders and sometimes long file names, so sometimes only 4 tabs can be opened at a time.

  1. Can vs2010 be made to show only file names and leave out any path information?

  2. Can the max displayed length for tabs be set?

I know the window can be split so top and bottom both have their own tabs.

For example (using the "Visual Studio 2010 Pro Power Tools"):

enter image description here

Showing the files:

  • ...r.aspx.cs
  • ...s.aspx.cs
  • ...s.aspx.cs
  • ...s.aspx.cs
  • ...s.aspx.cs

For example (not using the Visual Studio 2010 Pro Power Tools):

enter image description here

Showing the files:

  • Adminstration/...quests.aspx.cs
  • Adminstration/...tUsers.aspx.cs
  • Adminstration/...ctions.aspx.cs
  • Adminstration/...eBanks.aspx.cs
like image 238
MrFox Avatar asked Jun 30 '10 11:06

MrFox


2 Answers

Try installing the "Visual Studio 2010 Pro Power Tools" extension from the Extension Manager in VS. It adds a new section to the standard option dialogue that allows you to customise what they call the "Document Tab Well."

It doesn't let you truncate the filename, but you can change the way they draw and scroll, which might be enough to help.

like image 86
Dan Puzey Avatar answered Oct 03 '22 18:10

Dan Puzey


It does allow more tabs at a time, but it severly shortens the amount of file name you see. So while it allows editing more files, you won't know what file you are editing.

For now I'm using the trial version of Tab Studio

like image 27
MrFox Avatar answered Oct 03 '22 19:10

MrFox