typescript-language-server
Version:
Language Server Protocol (LSP) implementation for TypeScript using tsserver
19 lines • 931 B
JavaScript
/*
* Copyright (C) 2018 TypeFox and others.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
import { SourceDefinitionCommand } from './features/source-definition.js';
export const Commands = {
APPLY_WORKSPACE_EDIT: '_typescript.applyWorkspaceEdit',
APPLY_CODE_ACTION: '_typescript.applyCodeAction',
APPLY_REFACTORING: '_typescript.applyRefactoring',
ORGANIZE_IMPORTS: '_typescript.organizeImports',
APPLY_RENAME_FILE: '_typescript.applyRenameFile',
APPLY_COMPLETION_CODE_ACTION: '_typescript.applyCompletionCodeAction',
/** Commands below should be implemented by the client */
SELECT_REFACTORING: '_typescript.selectRefactoring',
SOURCE_DEFINITION: SourceDefinitionCommand.id,
};
//# sourceMappingURL=commands.js.map