Configuration for sbt console

Hi,

I'm testing the new intellij idea 2017.2.1 and I have a problem, I think is a configuration problem.

When I compile (or run) a project (scala + sbt) in the "sbt console action" and the source has an error, I cannot click over the path+filename where is the error for open the file directly in the editor.

Can I configure something to change this behaviour?

Thanks

0
5 comments

Hi! Where is this error, when compiling from the sbt shell? Do you have a screenshot or a project to show what you mean?

Thanks.

0
Avatar
Permanently deleted user

Hi,

This is the console when I compile with Intellij idea 2016, I can click on the file with the error and go directly to the editor (the file Main.scala is clickable).

In 2017 version, when I compile and I have an error in the code, the file Isn't clickable (in this case in E:\Work\Project\etc etc\ Main.scala)

Thank you.

0

Thanks, I've made an issue and will look into this: https://youtrack.jetbrains.com/issue/SCL-12369

However, it looks like you are using the SBT Console provided by the third party SBT plugin. This plugin is obsolete and not supported. Try disabling it in your plugins and using the "SBT Shell" instead (see the rightmost tab in your lower screenshot)

0
Avatar
Permanently deleted user

Hi Justin,

With  "SBT Shell" I have resolved the problem. 

Thank you very much

Salvatore

0

Please sign in to leave a comment.