Feedback on Scala console

Hi,
I like the new scala console in the plugin.  That's a very helpful new feature!
I like it that you automatically provide the projects classes in the classpath. Great for quickly testing things.

- Currently I can move around with the arrow keys. It can move over the "scala>" prompt. Typed characters appear after the prompt, though.
- The console does not scroll to the end of the output as soon as there's a scrollbar. This happens if I move around the caret before typing, I think,
- Pressing "end" on the last line jumps right after "scala>". Typing prints characters after "scala> " though. Sometimes you need to press End twice to see this.
- A history feature like in the real scala console would be great.
- Maybe special highlighting for error messages?
- Autocompletion sounds helpful

These are a few things I noticed or missed. Maybe it's useful for you.

7 comments
Comment actions Permalink

Hello.

It's great to hear words about new feature. But it's not simple things you asked. And I don't think that this can have big priority, because for testing you can simply use scala script feature (you have full featured scala editor for this), but I'll keep your request in my mind for future. Thank you!

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Hello,
I understand that these features are for a later version. I was just brainstorming. The only fix I'd like to see is a fix to the cursor movement bug.

And let me add once again, it's a pretty cool and helpful feature.

0
Comment actions Permalink

wallaby.pouch wrote:

Hi,
I like the new scala console in the plugin.  That's a very helpful new feature! ...


OK, I give. Where do I find this console? How to I access it? I went through every menu-bar menu and ever context menu I could think of and saw nothing relating to Scala whatsoever.

I'm running the latest IDEA and the latest Scala plug-in with Scala 2.7.2 configured.


Randall Schulz

0
Comment actions Permalink

Hello.

Sorry, that we haven't added documentation for this yet. But it's simple to find. It's just new run configuration.
You can do this by choosing Edit configurations in menu on screenshot:
1.png
Then press on + and add Scala Console configuration. You can don't edit any parameters. Then press Run or Debug mode.

0
Comment actions Permalink

Thanks. That certainly is well hidden!

Apparently I've been doing the "copy-and-modify" thing on my run configurations for so long that I either forgot about or never saw all the other kinds of run configurations that are available.

I am curious about something I see in the screen snapshot you included. I have the "Edit Configurations," of course, but I've never seen the "Save '...' Configuration" item. What is that? Why don't I have it? Is it 'cause I'm not logged in to the IDEA Server?


Randall Schulz

0
Comment actions Permalink

No, IDEA Server haven't any relation to this. When you press on popup menu of file with some executable code to run something, this is not save new run configuration, just run shadowy conf. So you can save it to run in future without this file opening. I think more information you can get from IDEA help. You should look something about run configurations.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

I have added possibility to run console form popup menu on Scala Editor or Scala Class in project view (it will be in next release). So It will be more simple to find:)

Thnak you for your request.

0

Please sign in to leave a comment.