This page is no longer maintained — Please continue to the home page at www.scala-lang.org

REPL in Eclipse - arrow and tab keys don't work right

3 replies
Cay Horstmann
Joined: 2009-09-04,
User offline. Last seen 42 years 45 weeks ago.

I tried out the REPL in Eclipse, but I can't get the arrow and tab
keys to work right. I expected the up and down arrow to get command
line history, and the tab key to do autocompletion. But they don't.
Are there alternate keys?

Thanks,

Cay

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: REPL in Eclipse - arrow and tab keys don't work right

Last I worked on it, you had to press enter for input to be flushed to
the stream, so tab + enter would work. The widget really needs an
overhaul to intelligently pull in input.

Sent from my iPhone

On Feb 21, 2010, at 9:22 AM, Cay Horstmann
wrote:

> I tried out the REPL in Eclipse, but I can't get the arrow and tab
> keys to work right. I expected the up and down arrow to get command
> line history, and the tab key to do autocompletion. But they don't.
> Are there alternate keys?
>
> Thanks,
>
> Cay

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: REPL in Eclipse - arrow and tab keys don't work right

On Sun, Feb 21, 2010 at 2:35 PM, Josh Suereth wrote:
> Last I worked on it, you had to press enter for input to be flushed to
> the stream, so tab + enter would work.  The widget really needs an
> overhaul to intelligently pull in input.

Yup ... contributions would be very welcome ...

Cheers,

Miles

Razvan Cojocaru 2
Joined: 2009-11-20,
User offline. Last seen 42 years 45 weeks ago.
Re: REPL in Eclipse - arrow and tab keys don't work right

Is it known how to get the list of options for autocompletion? I was doing
the telnet version as well and I'm at this point.
MAybe I can do it for both...although the eclipse frameworks are one of the
very few things that actually scare me

Miles Sabin wrote:
>
> On Sun, Feb 21, 2010 at 2:35 PM, Josh Suereth
> wrote:
>> Last I worked on it, you had to press enter for input to be flushed to
>> the stream, so tab + enter would work.  The widget really needs an
>> overhaul to intelligently pull in input.
>
> Yup ... contributions would be very welcome ...
>
> Cheers,
>
>
> Miles
>

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland