Uh oh!
There was an error while loading. Please reload this page.
repl: add auto-indentation for multiline input - #64607
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
PTAL @avivkeller |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hemanth
commented
Jul 19, 2026
Good call — dropped the Acorn re-parse entirely. PTAL @avivkeller |
Automatically insert 2-space indentation on continuation lines based on brace/bracket/paren depth when entering multiline input. Refs: nodejs#48164 Signed-off-by: hemanth <hemanth.hm@gmail.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #64607 +/- ##
==========================================
- Coverage 90.14% 90.12% -0.02%
==========================================
Files 741 741 Lines 242080 242140 +60 Branches 45563 45575 +12 ==========================================
+ Hits 218213 218239 +26 - Misses 15375 15425 +50 + Partials 8492 8476 -16
🚀 New features to boost your workflow:
|
Split from #64443 per review feedback to use idiomatic single-feature PRs.
Automatically inserts 2-space indentation on continuation lines based on the current nesting depth of braces, brackets, and parentheses.
Refs: #48164