apache / apache/netbeans

[JS] Add parameter suggestion on Ctrl + P

Open
#5,848 0 comments 0 reactions 0 assignees View on GitHub
JavaScript kind:feature needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Currently, the JS editor does not show the tooltip of possible parameters when pressing Ctrl + p while the cursor is within e.g.:
window.atob(|cursor here|);

I suggest to add the parameter tooltip as in e.g. the PHP editor.

### Use case/motivation

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start in the JavaScript editor's handling of Ctrl+P and compare it with the PHP editor's parameter tooltip behavior. Trace how the example window.atob() call is handled when the cursor is inside its parentheses. Done means pressing Ctrl+P in JavaScript shows the available parameter tooltip consistently with PHP.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.