:marks could not jump to the file correctly
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
:marks could not be able to get the correct file line position
When splitting the editor, the input marks cannot jump to the specified file editing location, but instead jumps to the current file location
Expected behavior
When I type the :marks command, the software will list the files and line numbers I have marked, and when I select a tag, it will automatically jump to that file instead of the current file.
Screenshots


select the item and could not jump to the file correctly

- Extension (VsCodeVim) version: v1.23.1 (2022/6/29)
- VSCode version: 1.69.2 (user setup)
- 日期: 2022-07-18T16:12:52.460Z
- Electron: 18.3.5
- Chromium: 100.0.4896.160
- Node.js: 16.13.2
- V8: 10.0.139.17-electron.0
- OS: Windows_NT x64 10.0.19043
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 issue in VSCodeVim by opening a split editor, marking locations in different files, and running the :marks command. Trace the command's selection and jump behavior, then verify that choosing a mark opens its recorded file and line rather than using the current file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100