We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a561f13 commit ce4475fCopy full SHA for ce4475f
1 file changed
testbed/server/src/server.ts
@@ -519,6 +519,9 @@ connection.onWorkspaceSymbol((params) => {
519
520
connection.onCodeAction((params) => {
521
const document = documents.get(params.textDocument.uri);
522
+ if (document === undefined) {
523
+ return [];
524
+ }
525
const change: WorkspaceChange = new WorkspaceChange();
526
change.createFile(`${folder}/newFile.bat`, { overwrite: true });
527
const a = change.getTextEditChange(document);
0 commit comments