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.
Please sign in to leave a comment.
This is Ctrl + Alt + Shift + E shourtcut. It's enable/disable this option.
Best regards,
Alexander Podkhalyuzin.
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?
No, we don't use it.
Best regards,
Alexander Podkhalyuzin.
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.
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.
do you plan on integrating it?
Alexander,
Do I understand correctly that "bad code green" reports are not that valuable (at this time)?
-tt
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.
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.
a well crafted answer