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.
provideStatementRange
1 parent 681e682 commit eac7ac2Copy full SHA for eac7ac2
apps/vscode/src/host/hooks.ts
@@ -169,7 +169,7 @@ class EmbeddedStatementRangeProvider implements HostStatementRangeProvider {
169
const result = await vscode.commands.executeCommand<hooks.StatementRange>(
170
"vscode.executeStatementRangeProvider",
171
uri,
172
- position
+ adjustedPosition(vdoc.language, position)
173
);
174
return { range: unadjustedRange(vdoc.language, result.range), code: result.code };
175
});
0 commit comments