Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make ensime show all compilation errors?

I'm doing Scala web development using the Play framework's scala module, and using Emacs+Ensime to edit the code. Sometimes even when Ensime shows no errors, Play will still show a compilation error for a .scala file (like a type parameter mistake, or even a typo'd override, which is such a basic error).

How can I make ensime show all compilation errors that Play would show?

I'm using Scala 2.8.1, with ensime_2.8.2-SNAPSHOT-0.5.1 (which seemed like the best of the available options when I downloaded it).

like image 864
Robin Green Avatar asked Dec 01 '11 11:12

Robin Green


People also ask

How do I see compile time errors in Intellij?

Click the widget to open the list of problems on the Current File tab of the Problems tool window. You can also access the Problems tool window by selecting View | Tool Windows | Problems or by pressing Alt+6 .

What does enzyme adapter do?

The adapter abstracts away anything that changes based on the React version so the core enzyme code can stay the same. mount and shallow are both exported from enzyme .

What is enzyme wrapper?

When using Enzyme, component instances are called 'Wrappers', and can be created in two main ways, shallow and mount. The primary difference between these two ways of rendering a wrapper is that a mount will also render any sub components of the top level component, whereas the shallow render will not.


1 Answers

I don't think this is supported, because ensime only uses the presentation compiler, which does not do all the checks that the full scalac compiler does.

like image 175
Robin Green Avatar answered Oct 30 '22 06:10

Robin Green