Block comments don't get created as a "block" and don't continue on new lines #9480
Labels
In Discussion
Not yet reached consensus
Suggestion
An idea for TypeScript
Visual Studio
Integration with Visual Studio
TypeScript Version: 1.8.30
Code
Or:
Expected behavior:
The
/**
variant works correctly here, but not with the next step.And, after pressing Enter:
Actual behavior:
(Your template has no "description" section, which seems valuable. I'm adding one. Here it comes!)
Description:
I'm not really sure if this belongs here or maybe here, but this doesn't work in VS "14.0.25123.00 Update 2" with TS or TSX or JSX files. It's impressively annoying. It does work with JS.
When initially adding a block comment, it doesn't fill in the "blank" line with just a
<indent> *
prefix (note the space), and upon pressing enter, it doesn't insert the<indent> *
for the new line as a continuation of the comment.The "doc" code block format (
/**
) starts out correctly, adding a single*
line and closing*/
line and placing the cursor on the single*
line, however when adding a new line it doesn't prefix the line with<indent> *
as I would expect. Virtually every other editor I've used (that I can remember) does block comments this way, so I don't think my expectation is unwarranted, but maybe so...The text was updated successfully, but these errors were encountered: