Skip to content

repl: add function signature hints#64608

Closed
hemanth wants to merge 1 commit into
nodejs:mainfrom
hemanth:repl/signature-hints-new
Closed

repl: add function signature hints#64608
hemanth wants to merge 1 commit into
nodejs:mainfrom
hemanth:repl/signature-hints-new

Conversation

@hemanth

@hemanth hemanth commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Split from #64443 per review feedback to use idiomatic single-feature PRs.

When the user types functionName(, the REPL displays the function's parameter list as a dimmed hint below the input line. Uses the V8 Inspector protocol with throwOnSideEffect: true for safety.

Requires preview to be enabled and the inspector to be available.

Refs: #48164

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. repl Issues and PRs related to the REPL subsystem. labels Jul 19, 2026
When the user types `functionName(`, display the function's parameter
list as a dimmed hint below the input line. Uses the V8 Inspector
protocol with throwOnSideEffect for safety.

Refs: nodejs#48164
Signed-off-by: hemanth <hemanth.hm@gmail.com>
@hemanth hemanth closed this Jul 19, 2026
@hemanth
hemanth force-pushed the repl/signature-hints-new branch from 47c56d7 to fab2177 Compare July 19, 2026 22:40
@hemanth
hemanth requested a review from a team as a code owner July 19, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. repl Issues and PRs related to the REPL subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants