mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 11:49:38 +00:00
Update names
This commit is contained in:
@@ -9,7 +9,7 @@ import { ActiveJsTsEditorTracker } from '../ui/activeJsTsEditorTracker';
|
||||
import { Lazy } from '../utils/lazy';
|
||||
import { CommandManager } from './commandManager';
|
||||
import { ConfigurePluginCommand } from './configurePlugin';
|
||||
import { EnableTsgoCommand, DisableTsgoCommand } from './disableExtension';
|
||||
import { EnableTsgoCommand, DisableTsgoCommand } from './useTsgo';
|
||||
import { JavaScriptGoToProjectConfigCommand, TypeScriptGoToProjectConfigCommand } from './goToProjectConfiguration';
|
||||
import { LearnMoreAboutRefactoringsCommand } from './learnMoreAboutRefactorings';
|
||||
import { OpenJsDocLinkCommand } from './openJsDocLink';
|
||||
|
||||
@@ -6,10 +6,6 @@
|
||||
import * as vscode from 'vscode';
|
||||
import { Command } from './commandManager';
|
||||
|
||||
/**
|
||||
* Command that enables TypeScript Go by modifying the configuration setting
|
||||
* and prompting the user to reload VS Code.
|
||||
*/
|
||||
export class EnableTsgoCommand implements Command {
|
||||
public readonly id = 'typescript.enableTsgo';
|
||||
|
||||
@@ -18,10 +14,6 @@ export class EnableTsgoCommand implements Command {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Command that disables TypeScript Go by modifying the configuration setting
|
||||
* and prompting the user to reload VS Code.
|
||||
*/
|
||||
export class DisableTsgoCommand implements Command {
|
||||
public readonly id = 'typescript.disableTsgo';
|
||||
|
||||
@@ -31,8 +23,7 @@ export class DisableTsgoCommand implements Command {
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the TypeScript Go setting and prompts for reload.
|
||||
*
|
||||
* Updates the TypeScript Go setting and reloads extension host.
|
||||
* @param enable Whether to enable or disable TypeScript Go
|
||||
*/
|
||||
async function updateTsgoSetting(enable: boolean): Promise<void> {
|
||||
@@ -8,7 +8,7 @@ import * as fs from 'fs';
|
||||
import * as vscode from 'vscode';
|
||||
import { Api, getExtensionApi } from './api';
|
||||
import { CommandManager } from './commands/commandManager';
|
||||
import { DisableTsgoCommand } from './commands/disableExtension';
|
||||
import { DisableTsgoCommand } from './commands/useTsgo';
|
||||
import { registerBaseCommands } from './commands/index';
|
||||
import { ElectronServiceConfigurationProvider } from './configuration/configuration.electron';
|
||||
import { ExperimentationTelemetryReporter, IExperimentationTelemetryReporter } from './experimentTelemetryReporter';
|
||||
|
||||
Reference in New Issue
Block a user