Skip to content

Pasting into code line below a jsdoc block comment auto-indents by one space character #119225

@danielrentz

Description

@danielrentz
  • VS Code Version: 1.54.3
  • OS Version: Win 10

Steps to Reproduce:

  1. Have the following code snippet in a JS editor
/**
 * doc
 */
x = 1;
  1. copy a word to clipboard, e.g. "var"
  2. place cursor before "x", paste

Result: The pasted word indents the line by one space. This should not happen below such a jsdoc comment block.

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-autoindentEditor auto indentation issuesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions