Skip to content

Commit 240f96d

Browse files
committed
refactor(vscode): split lsp releated code to linter.ts
1 parent 51085d0 commit 240f96d

File tree

3 files changed

+391
-329
lines changed

3 files changed

+391
-329
lines changed

editors/vscode/client/commands.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const commandPrefix = 'oxc';
2+
3+
export const enum OxcCommands {
4+
RestartServer = `${commandPrefix}.restartServer`,
5+
ShowOutputChannel = `${commandPrefix}.showOutputChannel`,
6+
ToggleEnable = `${commandPrefix}.toggleEnable`,
7+
// only for linter.ts usage
8+
ApplyAllFixesFile = `${commandPrefix}.applyAllFixesFile`,
9+
}

0 commit comments

Comments
 (0)