More fix around suggestions for the multi-line code.

ShinyaYoshida bitterfoxc at gmail.com
Thu Mar 26 13:01:45 UTC 2015


Hi Jan,
Thank you for your pushing my patch.

I have more patch around suggestions for the multi-line code.

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

1. Find suggestions, considering the incompleting code:

Currently, REPL prints all suggestions for the following code:

----
->"".
>>[TAB]Display all 446 possibilities? (y or n)
----

But, it should print members of String class.

----
->"".
>>[TAB]

CASE_INSENSITIVE_ORDER   String(                  charAt(   etc...
----

2. Don't print a command documentation in the multi-line code:

Currently, REPL prints the command documentation in the multi-line code.

----
->"".
>>/list all[SHIFT+TAB]
list the source you have typed
----

But, it shouldn't print the command documentation.

3. Print method documentation in multi-line code:

Currently, REPL don't print the method documentation in the multi-line code.
But, it should print the method documentation such as following:

----
->"".
>>split([SHIFt+TAB]
java.lang.String.split(java.lang.String arg0, int arg1)
java.lang.String.split(java.lang.String arg0)
----

Regards,
shinyafox(Shinya Yoshida)


More information about the kulla-dev mailing list