Open
Description
I was looking at implementing some editor commands that scroll to next function
/method
/thing
and none of the current API's scroll. Looks like there was a change at some point that made insert text, set selection, etc not scroll by default in VSCode.
We should implement a new request ShowEditorPositionRequest
and add a function (Show-EditorPosition
?) to Commands
that sends it (and optionally also add it to $psEditor
)
The VSCode implementation could use the TextEditor.revealRange method.