vscode.executeSelectionRangeProvider returns array of empty objects #75746
Labels
bug
Issue identified by VS Code Team member as probable bug
smart-select
verified
Verification succeeded
Milestone
By looking at the source there is a (still) undocumented command
vscode.executeSelectionRangeProvider
which is supposed to work similarly to otherexecute...Provider
commands.When running the following code inside extension
and looking at the result in DevTools I see that the size of returned array looks valid but all objects (that are supposed to be of type
SelectionRange
) are empty.It's important to note that expand/shrink commands work normally in editor so it's just extension host that receives empty objects.
BTW, by looking at command's test in
vscode/src/vs/workbench/test/electron-browser/api/extHostApiCommands.test.ts
Lines 799 to 801 in cb865f9
The text was updated successfully, but these errors were encountered: