We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264aad8 commit 8728053Copy full SHA for 8728053
src/__mocks__/vscode.js
@@ -73,6 +73,26 @@ const vscode = {
73
Development: 2,
74
Test: 3,
75
},
76
+ CodeAction: class {
77
+ constructor(title, kind) {
78
+ this.title = title
79
+ this.kind = kind
80
+ this.command = undefined
81
+ this.isPreferred = false
82
+ }
83
+ },
84
+ CodeActionKind: class {
85
+ constructor(value) {
86
+ this.value = value
87
88
+
89
+ append(value) {
90
+ return new vscode.CodeActionKind(`${this.value}.${value}`)
91
92
93
+ static QuickFix = new vscode.CodeActionKind("quickfix")
94
+ static RefactorRewrite = new vscode.CodeActionKind("refactor.rewrite")
95
96
FileType: {
97
Unknown: 0,
98
File: 1,
0 commit comments