Multi cursor comes up in Snippets
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
I think this might be a duplicate but the problem is still happening, so ... I did get an error #6464 but maybe I entered a wrong key. I later figured out that pressing 'c' makes it work as normal. Not sure if this is related to #2566 .
Describe the bug
Multi cursor comes up, when using this snippet. Pressing 'c' makes it work as normal but don't know if it's still a bug that needs to be fixed.
"Shortcode link": {
"prefix": "link",
"body": [
"[${1:pandoc page}]({{< link \"/code/pandoc\" >}} \"$1\")"
],
"description": "Shortcode link"
},
To Reproduce
Use the snippet above.
Expected behavior
Work normally without multi cursor. This snippet works fine.
"foo": {
"prefix": "foo",
"body": [
"foo is ${1:bar} now $1"
],
"description": "foo"
},
Environment (please complete the following information):
- Extension (VsCodeVim) version: v1.19.2
- VSCode version:
Version: 1.55.1
Commit: 08a217c4d27a02a5bcde898fd7981bda5b49391b
Date: 2021-04-09T00:42:12.838Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin x64 20.3.0 - OS: Mac os X
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
No source file or test is named. Reproduce the issue with the provided "Shortcode link" snippet in VSCode 1.55.1 and confirm whether it creates a multi-cursor state; done means the snippet inserts normally without requiring the extra 'c' key.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100