Repository navigation
repl: syntax highlighting, auto indenting and param autocomplete #48164
Description
Activity
- addedfeature requestIssues requesting new Node.js features.Issues requesting new Node.js features.
on May 25, 2023 - addedreplIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
on May 25, 2023 github-actions commented
on Nov 24, 2023 on Nov 24, 2023 – with GitHub ActionsContributorMore actionsThere has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment.
For more information on how the project manages feature requests, please consult the feature request management document.
- addedstaleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.
on Nov 24, 2023 github-actions commented
on Dec 24, 2023 on Dec 24, 2023 – with GitHub ActionsContributorMore actionsThere has been no activity on this feature request and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment.
For more information on how the project manages feature requests, please consult the feature request management document.
Just a note, I've added syntax highlighting, auto indentation and parentheses matching to REPL written in Node.js and written a blog post Handling auto-indentation in Node.js REPL. So I think that this is doable in user space similar to IPython.
Auto-indentation may be challenging in JavaScript syntax, though. It requires a partial parser that will not choke on not completed code. But maybe creating (or borrowing) from Marijn Haverbeke's CodeMirror will be doable.
Sounds like a nice and challenging project that will improve the usage of Node.js.
Reacted by Hemanth HM and Balázs Orbán
What is the problem this feature will solve?
Enhance the REPL to have:
What is the feature you are proposing to solve the problem?
I always liked how
bpythonREPL behaves:Maybe node REPL can be something similar?
What alternatives have you considered?
No response