Use block comment for every line if line comments are not supported by language #35464
Labels
editor-contrib
Editor collection of extras
*extension-candidate
Issue identified as good extension implementation
feature-request
Request for new features or functionality
There are some languages which don't support line comments: xml, html, ml, maybe more. In case of such languages VSCode uses block comments, when user invokes editor.action.addCommentLine or editor.action.commentLine.
When I select some code and toggle line comment, I expect this:
But, in fact, I got this:
I think it would be better to implement following behaviour: if line comment is not specified by extension and user invokes line comment command - use block comment for every line
The text was updated successfully, but these errors were encountered: