-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
repl: Proposal for better repl #8195
Copy link
Copy link
Closed
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Metadata
Metadata
Assignees
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
This is my idea/wish to address Node.js repl related issues.
Automatic multiline command mode has serious issues.
(we may have to fix the code if vm emits different error string in next release)
.break/^Cthe expression to continue.No welcome message (it helps to see version number)
Proposal
execute&continueactions^Mor enter key to execute the command (current behavior)^Jto continue (Hand over the problem to user, let user decides it) building multiline expression.Welcome message template
e.g.
@nodejs/collaborators, I am happy to implement this if there is no objection
Note : Current system executes code when
^M,^Jorenterpressed.^Iortabfor code completion