Bug with using bookmarks extension
Open
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
cursor does not stay at bookmarked location after coming back
To Reproduce
Steps to reproduce the behavior:
- go to a position, say line 4, Col 20
- create a bookmark with "bookmarks: toggle". The little sign appears
- move to another position, anywhere. Say line 10, Col 2
- trigger "bookmarks: jump to next". The cursor SEEMS to be coming back to the right position (line 4, Col 20)
I use vscode in VIM mode, with the popular vim extension. Now that my cursor is back at my bookmarked location, I want to move one character to the right, be pressing l. Instead of the cursor moving to line 4, Col 21, it first jumps back to wherever I was when I triggered the "bookmarks: jump to next" command (line 10, Col 2 in this example). It does my right movement, but not on the right line. I end up at line 10, Col 3
Additional context
https://github.com/alefragnani/vscode-bookmarks/issues/338
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
Reproduce the problem using the listed bookmarks: toggle and bookmarks: jump to next commands with VS Code Vim mode enabled, then compare the cursor position before and after pressing l. Use the linked alefragnani/vscode-bookmarks issue for context; done means movement after jumping remains at the bookmarked line and column.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100