Commit 55e2720
authored
lightspeed: ensure completion doesn't finish with a \n (#2138)
Not clear yet why, but when the prediction ends with a `\n` and we are
at the top of a short file, the completion is not properly displayed
by VSCode.
This only happens with recent (=~ less than 1 month) release. e.g
1.102.1 in my case.
This is a new behaviour that seems to be connected with some recent
changes within `reshapeMultiLineInsertion()`[0]
[0]: https://github.com/microsoft/vscode/blob/20724f79ba5142f9055a0a38a188fee3f15f79a4/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.ts#L6811 parent a9b732b commit 55e2720
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
0 commit comments