's Avatar

@mattbierner.bsky.social

107 Followers  |  5 Following  |  2 Posts  |  Joined: 13.11.2024  |  1.3799

Latest posts by mattbierner.bsky.social on Bluesky

Snippet edit feature by MariaSolOs ยท Pull Request #1343 ยท microsoft/vscode-languageserver-node Adding support for snippet workspace edits. Closes #724

These commands can trigger other UI flows too, such showing a quick pick. Again though the commands aren't part of the LSP spec so each client may need to implement them

Another option for basic text input is using a snippet workspace edit: github.com/microsoft/vs...

01.05.2025 18:51 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Specification This document describes the 3.17.x version of the language server protocol. An implementation for node of the 3.17.x version of the protocol can be found here.

VS Code does this with the `editor.action.rename` command on the code action (microsoft.github.io/language-ser...)

These command ids aren't part of the spec but that one may be common enough to use. Otherwise you can implement your own command for each client

01.05.2025 18:46 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@mattbierner is following 5 prominent accounts