vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Adding feature that add semicolon automatically when write a class or enum or struct in c++.

Open mohammed777200 opened this issue 2 years ago • 2 comments

Feature Request

I hope to see the Visual Studio feature happen in vs code, when writing a class the semicolon got write itself automatically at the end.

class ClassName {

}; // <--

mohammed777200 avatar Mar 20 '23 06:03 mohammed777200

We need VS Code itself to add support for this. I created issue https://github.com/microsoft/vscode/issues/118577, but it got closed for not receiving enough upvotes, but you could try recreating a new issue for it.

sean-mcmanus avatar Mar 20 '23 20:03 sean-mcmanus

It looks like the VS Code team says we should be able to implement this ourselves.

sean-mcmanus avatar Aug 22 '24 18:08 sean-mcmanus