Update names

This commit is contained in:
Andrew Branch
2025-04-17 12:16:00 -07:00
parent a0cd135c8e
commit b98a014647
4 changed files with 4 additions and 13 deletions

View File

@@ -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';

View File

@@ -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> {

View File

@@ -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';