mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
Add a setting to ignore dirty tabs in workbench.editor.limit.value. (#144545)
* Add a setting to ignore dirty tabs in workbench.editor.limit.value. * Add a setting to ignore dirty tabs in workbench.editor.limit.value. * Update src/vs/workbench/browser/parts/editor/editorsObserver.ts Co-authored-by: Kirill Dubovitskiy <kirill2003de@gmail.com> * Modify variable name. * update based on suggestions * 💄 Co-authored-by: Kirill Dubovitskiy <kirill2003de@gmail.com> Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
This commit is contained in:
@@ -258,6 +258,11 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
|
||||
'exclusiveMinimum': 0,
|
||||
'markdownDescription': localize('limitEditorsMaximum', "Controls the maximum number of opened editors. Use the `#workbench.editor.limit.perEditorGroup#` setting to control this limit per editor group or across all groups.")
|
||||
},
|
||||
'workbench.editor.limit.excludeDirty': {
|
||||
'type': 'boolean',
|
||||
'default': false,
|
||||
'description': localize('limitEditorsExcludeDirty', "Controls if the maximum number of opened editors should exclude dirty editors for counting towards the configured limit.")
|
||||
},
|
||||
'workbench.editor.limit.perEditorGroup': {
|
||||
'type': 'boolean',
|
||||
'default': false,
|
||||
|
||||
Reference in New Issue
Block a user