Commit 20d7e37
committed
Fix completion text for clients which don’t support
We could set the `Label` to `CompletionText` as the fallback, but that
then makes the list of completions in fancier clients not as
accurate (since PowerShell explicitly provides `ListItemText` for this
purpose). Instead, we set usually unused field `InsertText` with the
same information we provided for more advanced clients in `TextEdit`.TextEdit
1 parent 78f8fb7 commit 20d7e37
File tree
1 file changed
+4
-1
lines changed- src/PowerShellEditorServices/Services/TextDocument/Handlers
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
| |||
0 commit comments