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.
TextDocumentIdentifier
1 parent 48e16a8 commit 2a347c8Copy full SHA for 2a347c8
src/common/commands.ts
@@ -62,9 +62,14 @@ export function createDebugInformationProvider(
62
if (!lsClient) {
63
return "";
64
}
65
+ const editor = vscode.window.activeTextEditor;
66
const params = {
67
command: `${serverId}.printDebugInformation`,
- arguments: [{ uri: vscode.window.activeTextEditor?.document.uri.toString() }],
68
+ arguments: [
69
+ {
70
+ textDocument: editor ? { uri: editor.document.uri.toString() } : null,
71
+ },
72
+ ],
73
};
74
return await lsClient.sendRequest(ExecuteCommandRequest.type, params).then(
75
(result) => {
0 commit comments