-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
editor-autoindentEditor auto indentation issuesEditor auto indentation issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
Hitting enter adds extra whitespace when onEnterRule reduces indent on previous blank line. For example, with typescript and PHP, this happens after single line if statements and after JSDoc/PHPDoc.
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.62.0
- OS Version: macOS Big Sur
Steps to Reproduce A:
- Use the following type script rule.
- Place mouse on line 3.
- Hit Enter. Line 4 will start with a tab.
If you hit enter on
if (1)
console.log('test');Steps to Reproduce B:
- Use the following type script rule.
- Place mouse on line 4.
- Hit Enter. Line 5 will start with a single space.
/**
* JSDoc
*/Ouroboros2460, joel-runsignup, nathanael-rsu, MLindeboomRSU, jkies00 and 14 more
Metadata
Metadata
Assignees
Labels
editor-autoindentEditor auto indentation issuesEditor auto indentation issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality