-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repl: support optional chaining during autocompletion #33450
Conversation
This makes sure the autocompletion is able to handle optional chaining notations. Signed-off-by: Ruben Bridgewater <[email protected]>
This refactors the repl autocompletion code for simplicity and readability. Signed-off-by: Ruben Bridgewater <[email protected]>
28b745c
to
8c487ad
Compare
CI: https://ci.nodejs.org/job/node-test-pull-request/31373/ ✅ (green besides one known ci issue) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :]
left a few nits
Signed-off-by: Ruben Bridgewater <[email protected]>
CI: https://ci.nodejs.org/job/node-test-pull-request/31400/ (:green_heart:) |
This makes sure the autocompletion is able to handle optional chaining notations. Signed-off-by: Ruben Bridgewater <[email protected]> PR-URL: nodejs#33450 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
This refactors the repl autocompletion code for simplicity and readability. Signed-off-by: Ruben Bridgewater <[email protected]> PR-URL: nodejs#33450 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Landed in 9de08f7...19d9e20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``
This makes sure the autocompletion is able to handle optional chaining notations. Signed-off-by: Ruben Bridgewater <[email protected]> PR-URL: #33450 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
This refactors the repl autocompletion code for simplicity and readability. Signed-off-by: Ruben Bridgewater <[email protected]> PR-URL: #33450 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
@BridgeAR should this go back to v12.x? it's a bit conflict heavy, so would you mind opening a manual backport if so? Feel free to remove the label otherwise :) |
repl: support optional chaining during autocompletion
This makes sure the autocompletion is able to handle optional
chaining notations.
repl: simplify repl autocompletion
This refactors the repl autocompletion code for simplicity and
readability.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes