microsoft / microsoft/vscode-cpptools
Documentation comments stop working when / is removed from */ and then added back
Open
Nobody has claimed this yet.
bug
Feature: Doc comments
Works in VS
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Start with
/* a */
int foo;
Then delete the end / and then add it back, the move the cursor to the line before the command and hover over "foo".
Bug: The documentation comment stops appearing.
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 the Microsoft C/C++ extension using the documented /* a */ and int foo; snippet. Remove and restore the final slash, then move the cursor to the preceding line and hover over foo; done means the documentation comment still appears after the edit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100