This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256583 - Nashorn auto-completion support
Summary: Nashorn auto-completion support
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 14:12 UTC by terje7601
Modified: 2016-07-18 12:26 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2015-11-13 14:12:16 UTC
This has 2 parts:
- all Nashorn script API extensions as defined here: https://wiki.openjdk.java.net/display/Nashorn/Nashorn+extensions

- Java auto-completion inside Nashorn scripts. For example, if I do:

var Runtime = Java.type("java.lang.Runtime");
Runtime.<cursor>

Then NetBeans should be smart enough to propose me all methods of the Java class. There are many more opportunities of this kind, but the "Java.type" one is the most important, in my opinion.