mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
Fix missing "Restart TS Server" command in Command Palette (#223433)
Update TypeScript context keys when tab groups changed Co-authored-by: Matt Bierner <matb@microsoft.com>
This commit is contained in:
@@ -28,6 +28,7 @@ export class ActiveJsTsEditorTracker extends Disposable {
|
||||
|
||||
this._register(vscode.window.onDidChangeActiveTextEditor(_ => this.update()));
|
||||
this._register(vscode.window.onDidChangeVisibleTextEditors(_ => this.update()));
|
||||
this._register(vscode.window.tabGroups.onDidChangeTabGroups(_ => this.update()));
|
||||
|
||||
this.update();
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ import { isSupportedLanguageMode } from '../configuration/languageIds';
|
||||
import { Disposable } from '../utils/dispose';
|
||||
import { ActiveJsTsEditorTracker } from './activeJsTsEditorTracker';
|
||||
|
||||
/**E
|
||||
/**
|
||||
* When clause context set when the current file is managed by vscode's built-in typescript extension.
|
||||
*/
|
||||
export default class ManagedFileContextManager extends Disposable {
|
||||
|
||||
Reference in New Issue
Block a user