🐞[BUG] argument hints not working properly with vim motion
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
If i enable inline function argument hints and try go to the beginning of the argument word it selects the hints not the first char
To Reproduce
Steps to reproduce the behavior:
- Go to 'settings.json in vscode'
- Paste "python.analysis.inlayHints.callArgumentNames": "partial"
- Use vim motion on the function arguments
- See bug
Expected behavior
The cursor should select the first char of the argument word
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.31.0
- VSCode version: 1.103.0
- OS: Microsoft Windows NT 10.0.26100.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing this in VS Code 1.103.0 with VSCodeVim 1.31.0 and the settings.json value "python.analysis.inlayHints.callArgumentNames": "partial". Use Vim motion on a function argument and inspect how the inline hint affects the cursor position. Done means motion reaches and selects the first character of the argument rather than the hint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100