Mark not set
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
To Reproduce
Not really sure. Key navigation is simply not working.
VSCodeVim version: 1.24.1
Stack trace
Error: Mark not set
at Function.fromCode (/home/brian/.vscode/extensions/vscodevim.vim-1.24.1/src/error.ts:94:14)
at /home/brian/.vscode/extensions/vscodevim.vim-1.24.1/src/vimscript/lineRange.ts:152:28
at h.resolve (/home/brian/.vscode/extensions/vscodevim.vim-1.24.1/src/vimscript/lineRange.ts:126:18)
at f.resolve (/home/brian/.vscode/extensions/vscodevim.vim-1.24.1/src/vimscript/lineRange.ts:310:29)
at l.allMatches (/home/brian/.vscode/extensions/vscodevim.vim-1.24.1/src/vimscript/pattern.ts:99:34)
at M.getSubstitutionDecorations (/home/brian/.vscode/extensions/vscodevim.vim-1.24.1/src/cmd_line/commands/substitute.ts:283:25)
at C.getDecorations (/home/brian/.vscode/extensions/vscodevim.vim-1.24.1/src/cmd_line/commandLine.ts:250:22)
at N.updateSearchHighlights (/home/brian/.vscode/extensions/vscodevim.vim-1.24.1/src/mode/modeHandler.ts:1169:58)
at N.updateView (/home/brian/.vscode/extensions/vscodevim.vim-1.24.1/src/mode/modeHandler.ts:1602:12)
at M (/home/brian/.vscode/extensions/vscodevim.vim-1.24.1/extensionBase.ts:54:22)
at process.mh (node:internal/process/task_queues:96:5)
at /home/brian/.vscode/extensions/vscodevim.vim-1.24.1/extensionBase.ts:353:13
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 with the stack-trace locations in src/vimscript/lineRange.ts:152 and :126, then follow the calls through pattern.ts, cmd_line/commands/substitute.ts, commandLine.ts, and modeHandler.ts. Reproduce the key-navigation failure if possible and determine why it reaches the “Mark not set” error; done means key navigation no longer triggers this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100