如何在 VisualStudio 中在右侧打开新的 doc 选项卡标签?

当我打开一个新文档时,它的 tab 标签会出现在工具栏的左侧。我怎样才能让它出现在右边?

16011 次浏览

To instruct Visual Studio that you want new tabs opened to the right of existing tabs:

  1. Click on the "Tools" menu, and select "Options".
  2. Under the "Environment" heading in the listbox on the left, click on the "Documents" tab.
  3. Check the box labeled "Insert documents to the right of existing tabs".

  Visual Studio document tab options

For Visual Studio 2012 and later, this setting has moved to the "Tabs and Windows" section.

Updated directions are:

  1. Click on the "Tools" menu, and select "Options".
  2. Under the "Environment" heading in the listbox on the left, click on the "Tabs and Windows" item.
  3. Check the box labelled "Insert new tabs to the right of existing tabs". This should be the first checkbox in the panel, in the "Tab Well" section.

In Visual Studio 2015, this option has been moved to Options --> Environment --> Tabs and Windows.

enter image description here

In Visual Studio 2017 is the same like in Visual Studio 2015. Tools->Options->Environments->Tabs and Windows You mus check "Insert new tabs to the right of existing tabs"

In Visual Studio 2019, this option is still under Tools->Options->Environments->Tabs and Windows, but it has been moved down. It is now placed under Group tabs by project/path:

enter image description here