RFR 8131027: JShell API/tool: suggest imports for a class
jan.lahoda at oracle.com
Fri Jan 22 11:40:09 UTC 2016
I'd like to ask for a review of a patch that adds two new features:
a) add import: when there is an unresolvable identifier, press
"<base-shortcut> i" (*), and a list of known FQNs should be printed,
with an ability to easily import any of them.
b) create variable: when there is an expression, press "<base-shortcut>
v", and a variable stub will be created, with the expression as the
The "<base-shortcut>" is either Alt-Enter or Alt-F1, depending on the
platform. For Windows,
The patch is here:
For Windows, an additional patch to jdk.internal.le is needed (I'll send
a separate review to core-libs for that):
Any comments are welcome!
More information about the kulla-dev