You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This API allows one to extend current selection to an encompassing syntactic construct, and is imo quite useful for many editing tasks. So, it's expand-region which actually knows about the source syntax.
It might be a good idea to give this API a shot before it is stabilized in the protocol, in case something is missing.
The text was updated successfully, but these errors were encountered:
@matklad thanks for the heads up. As a side note, I am excited for the rest of the stuff you have mentioned in the original issue report especially point 3 - microsoft/language-server-protocol#613
vibhavp you may take a look at expand-region package. It allows plugging custom expand method function via er/try-expand-list so we can reuse pretty much everything
There's a new provisional API in the protocol:
textDocument/selectionRange
.spec
types
This API allows one to extend current selection to an encompassing syntactic construct, and is imo quite useful for many editing tasks. So, it's expand-region which actually knows about the source syntax.
It might be a good idea to give this API a shot before it is stabilized in the protocol, in case something is missing.
The text was updated successfully, but these errors were encountered: