Smarter cursor placement around inlay hints #10001
Unanswered
mydumpfire
asked this question in
General
Replies: 2 comments 3 replies
|
For exploration it seems this is a PR that touched it microsoft/vscode#128140 |
0 replies
|
Our cursor semantics are fundamentally different than vscodes. Vscode has a cursor between character while we have cursors on characters. Our implementation is consistent with that behavior. The problem is mostly that you are using bar cursor which are just a visual gimmick and don't reflect the actual cursor semantics which are always block cursor based. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Cursor placement and character insertion near inlay hints currently feels a bit janky:
helix_hint.webm
This is how it looks in VS Code:
vscode_hint.webm
Neovim also deals with this pretty well:
neovim.mp4
I'm not sure what they do under the hood, but it feels like they always do the "right" thing, positioning your cursor where it makes the most sense in the current context.
All reactions