Enable presentation compiler error reporting

Currently, the plugin only highlights syntax errors. Compilation errors are only presented when we build the project, provided by the external Scala compiler.

I remember reading somewhere that there is some hidden option to enable the Intellij Scala Plugin's presentation compiler. I understand that it is not enabled by default because type inference isn't as complete as in EPFL's compiler, but would like to check if it's sufficient for my present needs.

10 comments
Comment actions Permalink

This is Ctrl + Alt + Shift + E shourtcut. It's enable/disable this option.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

i read somewhere that the scala compiler (2.8) provides some kind of interface for ides to enable them to "hook into the compiler's understanding of the source code".  do you use that?

0
Comment actions Permalink

No, we don't use it.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Thanks. Should I file bugs for false positives (correct code flagged as a bug), or should I wait until the plugin is more mature?

Great work, by the way. I love being able to use simple refactorings and code navigation with Scala.

0
Comment actions Permalink

Any red code, which shouldn't be you can report using our bugtracker. Better if you will find a way to minimize testcase.

Best regards,
Alxander Podkhalyuzin.

0
Comment actions Permalink

do you plan on integrating it?

0
Comment actions Permalink

Alexander,
Do I understand correctly that "bad code green" reports are not that valuable (at this time)?
-tt

0
Comment actions Permalink

We want to know if you find bad code green for implemented things like resolve or function return type checking. For other things we know bunch of features, we can implement, so it's not what we missed.

Best reagards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

We are implementing our own model of scala code, that is compatible with Idea platform and supports most of its powerful features (like refactoring, advanced highlighting, formatting, integration with Java code, etc).
That model is dedicated to IDE and (in theory) should provide better performance and more sophisticated code analysis than compilation-oriented interface of Scala compiler.

0
Comment actions Permalink

a well crafted answer

0

Please sign in to leave a comment.