-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugeditor-autoindentEditor auto indentation issuesEditor auto indentation issueshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersjavascriptJavaScript support issuesJavaScript support issuesverifiedVerification succeededVerification succeeded
Milestone
Description
- VSCode Version: 1.52.1
- OS Version: Mac OS 11.1 (Big Sur)
Steps to Reproduce:
- In a javascript file, add a multi-line comment
/** ... */ - In the code line right after that comment, place the cursor at the beginning of the line and hit enter
- A new line is created with a leading space, why? This doesn't happen when there is no comment prior to the code block.
Hope the attached screen capture helps with reproducing the issue.
problem.with.new.line.mov
Does this issue occur when all extensions are disabled?: Yes
I have tested with both the Insiders version and https://vscode-web-test-playground.azurewebsites.net/?enter=true
susiwen8
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugeditor-autoindentEditor auto indentation issuesEditor auto indentation issueshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersjavascriptJavaScript support issuesJavaScript support issuesverifiedVerification succeededVerification succeeded