basedpyright icon indicating copy to clipboard operation
basedpyright copied to clipboard

support textDocument/selectionRange

Open nimashoghi opened this issue 11 months ago • 1 comments

Description

This would be nice to have, as it allows for the "Expand/Shrink Selection" features in VSCode, which Pylance currently supports.

LSP: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_selectionRange

nimashoghi avatar Mar 27 '25 03:03 nimashoghi

similarly to #308, Expand/Shrink Selection seems to work in vscode without pylance, but it just makes a guess instead of using the language server

DetachHead avatar Mar 27 '25 08:03 DetachHead