hg: kulla/dev/langtools: Completion for REPL commands and their arguments.

ShinyaYoshida bitterfoxc at gmail.com
Tue Mar 24 23:12:32 UTC 2015


Hi, Jan.

Consider this case:

-> void m(int n) {}
-> int num1 = 1, num2 = 2

-> m(num1
>> /[tab]

/classes      /classpath    /exit         /feedback     /help    etc...

Currently, REPL prints command suggestions.
But, REPL should print code suggestions, not command suggestions.

Please consider my patch.
webrev: http://cr.openjdk.java.net/~shinyafox/kulla/a522e3dbc4ef/webrev.00/

Regards,
shinyafox(Shinya Yoshida)

2015-03-24 15:22 GMT+09:00 <jan.lahoda at oracle.com>:

> Changeset: a522e3dbc4ef
> Author:    jlahoda
> Date:      2015-03-24 07:18 +0100
> URL:       http://hg.openjdk.java.net/kulla/dev/langtools/rev/a522e3dbc4ef
>
> Completion for REPL commands and their arguments.
>
> ! repl/src/tool/Repl.java
> + repl/testng/test/CommandCompletionTest.java
> ! repl/testng/test/ReplToolTesting.java
> ! repl/testng/testng.xml
>
>


More information about the kulla-dev mailing list