mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 04:53:33 +01:00
Tie in tab input, remove cleanup .d.ts
This commit is contained in:
@@ -49,12 +49,6 @@ class ExtHostEditorTab {
|
||||
get input() {
|
||||
return that._input;
|
||||
},
|
||||
get resource() {
|
||||
return URI.revive(that._dto.resource);
|
||||
},
|
||||
get viewType() {
|
||||
return that._dto.editorId;
|
||||
},
|
||||
get isDirty() {
|
||||
return that._dto.isDirty;
|
||||
},
|
||||
@@ -64,12 +58,6 @@ class ExtHostEditorTab {
|
||||
get viewColumn() {
|
||||
return typeConverters.ViewColumn.to(that._dto.viewColumn);
|
||||
},
|
||||
get kind() {
|
||||
return that._dto.kind;
|
||||
},
|
||||
get additionalResourcesAndViewTypes() {
|
||||
return that._dto.additionalResourcesAndViewTypes.map(({ resource, viewId }) => ({ resource: URI.revive(resource), viewType: viewId }));
|
||||
},
|
||||
move: async (index: number, viewColumn: ViewColumn) => {
|
||||
this._proxy.$moveTab(that._dto.id, index, typeConverters.ViewColumn.from(viewColumn));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user