Skip to content

Indentation in jsdoc comments #43783

Closed
Closed
@kieferrm

Description

@kieferrm

Issue Type

Bug

Description

  1. create a js file with the following content
/** */
function m() {}
  1. Place caret right before the closing * in the jsdoc comment
  2. Press Enter
    ->
/** 
 * 
*/

is entered. When I place the caret after the second opening * I get the right indentation.

VS Code Info

VS Code version: Code - Insiders 1.21.0-insider (70e020b, 2018-02-15T06:08:32.814Z)
OS version: Darwin x64 16.7.0

Reproduces without extensions

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS CodebugIssue identified by VS Code Team member as probable bugeditor-autoindentEditor auto indentation issuesjavascriptJavaScript support issuestypescriptTypescript support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions