Block comments are not working properly
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Block comments like gC3j are not working properly.
Steps to Reproduce:
- Install C/C++ extension from Microsoft.
- Create
hello.cfile:
#include <stdio.h>
#include <math.h>
- Position cursor at the beginning of the first line of
hello.c(Normal mode). - Type
gCj 
Expected behavior

Environment:
- Extension (VsCodeVim) version: v1.23.1
- VSCode version: 1.69.2
- OS: Linux, Debian 11 (bullseye)
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 hello.c with the Microsoft C/C++ extension by placing the cursor at the first line and running gCj. Start by tracing the block-comment handling for this command in the VSCodeVim extension. Done means gCj applies the expected comments to the selected lines, matching the expected screenshot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp, 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
- 35/100