Every time you open a file for editing, a dedicated tab is added to the editor window, next to the active editor tab.
JetBrains Rider can limit the number of tabs opened in the editor simultaneously. When the number of tabs reaches its limit, the editor closes the less recent tabs (unless they are pinned) according to the tab closing policy, which is defined in the Editor | General | Editor Tabs page of the Settings/Preferences Ctrl+Alt+S By default, the tab limit is 10, but you can change it if necessary.
Manage editor tabs
Use commands inmenu.
Right-click a tab and use its context menu.
Click on the tab label to close the tab or Alt-click it to close all other tabs.
Use keyboard shortcuts: Ctrl+F4 to close the active tab, Alt+Right/Alt+Left to switch to the next or previous tab.
Configure the behavior of editor tabs
In the Settings/Preferences dialog Ctrl+Alt+S, select .
Change the maximum allowed number of tabs: type the desired maximum allowed number of the editor tabs to be opened at a time in the Tab limit field.
If the tab limit equals 1, the tabs will be disabled. If you want the editor to never close the tabs, type some unreachable number.
With the disabled tabs, use the Ctrl+E command to quickly switch between files.
By default, the tab headers appear on top of the editor, but you can change their location as required, and have the headers at the bottom, left, or right sides of the editor. Note that the tab header placement is a global setting that applies to all projects.
Use the Placement selector to choose the desired position of tab headers.
To disable editor tabs altogether, select None from the Placement selector.
Open files in the preview tab
The preview tab allows you to view files in a single tab one by one without opening each file in a new tab. This is helpful if you need to look through several files without exceeding the tab limit.
In the Solution explorerAlt+1, click and select the Enable Preview Tab option.
You can also enable the preview tab in.
In the Solution explorer, select a file that is not already open in any other tab.
The name of the file is written in italic to indicate the preview mode. Any other file that you select will replace the previous one in the preview tab.
Start editing the file to exit the preview mode and change it to a regular tab.
Note that when the preview tab is enabled, the Open Files with Single Click option is ignored. Double-click a file to open it in a regular tab.
Navigate editor tabs
Navigate open editor tabs
Right-click the current editor tab and choosefrom the context menu.
Press Alt+Right or Alt+Left to move the focus to the editor tab located next to the right or to the left from the active editor tab.
Press Ctrl+Tab to use the Switcher. While holding down Ctrl, you can use Tab or Shift+Tab to pick the desired editor tab in the right-hand part of the popup:
Go back and forth through the history of visited tabs
View hidden editor tabs and select the active editor
Pin and unpin tabs
When the specified tab limit is reached, JetBrains Rider will close old tabs when you open new documents. To prevent a tab from being closed automatically, you can pin this tab. Besides, when you close the editor tabs, you have an option to leave pinned tabs opened and close only the unpinned tabs.
When a tab is pinned, there is a special marker on it:
To pin or unpin a tab, right-click it and chooseor from the context menu.
If some tabs are pinned, you can leave only them and close all unpinned tabs — right-click any editor tab and choose Close All but Pinned from the context menu.
Split editor window
You can split the editor window into as many panes as required, each one containing multiple tabs. A single file can be open in several split panes. For example, you can scroll through a part of a file having another part of the file in view in another pane.
You can split the editor by dragging and dropping a tab to the side of the main editor window. Pinned tabs are always displayed on the left-hand side of the tab bar.
Another option is to choose any file in the Solution Explorer and open it in the right split, so that the currently opened document also stays visible. To do so, press Shift+Enter when the desired file is focused in the Solution Explorer or right-click it and choosefrom the context menu.
Split tabs using menu commands
Open editor tabs in separate windows
You can detach editor tabs from the main editor area, and move them to separate windows. The detached editor tabs can be split or unsplit, and you can drag editor tabs between windows.
Do one of the following:
Drag this tab outside of the main window. A preview thumbnail appears:
The editor tab opens in a separate window.
To move a detached tab to the main editor area, drag it from its window and drop it next to other tabs:
Arrange tabs in the alphabetical order
The alphabetical sorting of the editor tabs is available regardless of the tabs position. However, alphabetical order for top and bottom placement becomes available, when the Show tabs in single row check command is selected on the menu.
Right-click an editor tab.
If this check command is selected, the tabs headers are presented in alphabetical order. Otherwise, the editor tab headers appear in the opening order of the corresponding files.