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 8f41686 commit 5f923e3Copy full SHA for 5f923e3
src/index.ts
@@ -231,6 +231,7 @@ export async function activate(context: ExtensionContext): Promise<void> {
231
if (textEdit && textEdit.newText) {
232
let newText = insertText || textEdit.newText
233
textEdit.newText = newText
234
+ if (!TextEdit.is(textEdit)) continue
235
let { start, end } = textEdit.range
236
if (line[start.character] && line[end.character - 1] && /^".*"$/.test(label)) {
237
item.label = item.label.slice(1, -1)
0 commit comments