microsoft / microsoft/vscode-cpptools
Auto completing semi-colon for struct and class declaration
Open
Nobody has claimed this yet.
enhancement
Feature Request
Language Service
Visual Studio Code
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Type: LanguageService
Describe the bug
- C/C++ Extension Version: 1.3.0-insider 3
Steps to reproduce
- Type
class ClassName
{
^ There is no auto-completed simi-colon at the end of }. The code will be like
class ClassName
{
}
//^ No semi-colon
Expected behavior
class ClassName
{
};
//^ Auto-completed semi-colon
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 by reproducing the behavior in the C/C++ Extension using the class declaration shown in the issue. Compare the result with the expected behavior and verify that a semicolon is auto-completed after the closing brace for struct and class declarations.
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
- 20/100