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 feature might be used when the user forget to check null or something like that, and quickly wrap the code by a certain snippet.
The problem is that so far LSP does not support passing the selection information in code action param. So the server side cannot render the inserted text with the selections.
Can we first simply ignore the $TM_SELECTED_TEXT when rendering the insert text at the server side. Once the LSP supports it, we can then add them into it.
Here is a brief demonstration of the idea:
This feature might be used when the user forget to check null or something like that, and quickly wrap the code by a certain snippet.
The problem is that so far LSP does not support passing the selection information in code action param. So the server side cannot render the inserted text with the selections.
Can we first simply ignore the
$TM_SELECTED_TEXT
when rendering the insert text at the server side. Once the LSP supports it, we can then add them into it.LSP related issue: microsoft/language-server-protocol#377 (comment)
The text was updated successfully, but these errors were encountered: