We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TextDocumentEdit
1 parent 3b7c7f9 commit 1e46868Copy full SHA for 1e46868
docs/dev/lsp-extensions.md
@@ -57,8 +57,9 @@ export interface TextDocumentEdit {
57
}
58
```
59
60
-When applying such code action or text edit, the editor should insert snippet, with tab stops and placeholder.
61
-At the moment, rust-analyzer guarantees that only a single edit will have `InsertTextFormat.Snippet`.
+When applying such code action or text edit, the editor should insert snippet, with tab stops and placeholders.
+At the moment, rust-analyzer guarantees that only a single `TextDocumentEdit` will have edits which can be `InsertTextFormat.Snippet`.
62
+Any additional `TextDocumentEdit`s will only have edits which are `InsertTextFormat.PlainText`.
63
64
### Example
65
0 commit comments