mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Rename .groups to .all again
This commit is contained in:
@@ -953,7 +953,7 @@ export class ExtHostVariableResolverService extends AbstractVariableResolverServ
|
||||
if (activeEditor) {
|
||||
return activeEditor.document.uri;
|
||||
}
|
||||
const activeTab = editorTabs.tabGroups.groups.find(group => group.isActive)?.activeTab;
|
||||
const activeTab = editorTabs.tabGroups.all.find(group => group.isActive)?.activeTab;
|
||||
if (activeTab !== undefined) {
|
||||
// Resolve a resource from the tab
|
||||
if (activeTab.kind instanceof TextDiffTabInput || activeTab.kind instanceof NotebookDiffEditorTabInput) {
|
||||
|
||||
@@ -223,7 +223,7 @@ export class ExtHostEditorTabs implements IExtHostEditorTabs {
|
||||
onDidChangeTabGroups: that._onDidChangeTabGroups.event,
|
||||
onDidChangeTabs: that._onDidChangeTabs.event,
|
||||
// dynamic -> getters
|
||||
get groups() {
|
||||
get all() {
|
||||
return Object.freeze(that._extHostTabGroups.map(group => group.apiObject));
|
||||
},
|
||||
get activeTabGroup() {
|
||||
|
||||
Reference in New Issue
Block a user