Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline comments: * should be auto-inserted on enter #579

Closed
ecbrodie opened this issue Mar 19, 2017 · 3 comments
Closed

Multiline comments: * should be auto-inserted on enter #579

ecbrodie opened this issue Mar 19, 2017 · 3 comments
Labels
Feature Request fixed Check the Milestone for the release in which the fix is or will be available. Language Service

Comments

@ecbrodie
Copy link

ecbrodie commented Mar 19, 2017

When I am writing a multiline comment in C/C++ code (ie, /* ... */) and I press enter while typing in the middle of the comment, then a * character should be automatically inserted at the beginning of the new line, indented to match the * character of the comment's opening line. This is the default behaviour in almost every other IDE that I've had experience working with. However, in VS Code, I need to add in this new character at the start of the line new. It is a little tedious to need to do this all the time.

Please fix. Thank you.

@bobbrow bobbrow added the fixed Check the Milestone for the release in which the fix is or will be available. label Sep 13, 2017
@FHTheron
Copy link

This: https://marketplace.visualstudio.com/items?itemName=kevinkyang.auto-comment-blocks
helps a bit, but has some quirks which I haven't yet tried to debug. For /** it works well, for /* it seems to only work if you already have three lines in place.

Built-in support would be great though.

@bobbrow
Copy link
Member

bobbrow commented Sep 18, 2017

Our implementation will be similar. It won't turn on automatically for /*, but if you add the * on the next line, we will continue it for subsequent lines. /** will work as you expect.

@bobbrow
Copy link
Member

bobbrow commented Sep 26, 2017

This was released in 0.13.0

@bobbrow bobbrow closed this as completed Sep 26, 2017
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Projects
None yet
Development

No branches or pull requests

4 participants