dragos / dragos-vscode-scala

Other
253 stars 39 forks source link

Parameter errors when method takes implicit #68

Open WernerLDev opened 6 years ago

WernerLDev commented 6 years ago

Hello folks,

I recently started to use this extension and it's great to see intellisense for scala available. But, I have one minor issue. Every method in my code that takes an implicit as parameter is marked as an error (with red mark under the code). It says 'not enough parameters for method apply'. It looks like it doesn't understand implicits.

My code compiles fine so that's not the problem.

dragos commented 6 years ago

It might be a problem to report to the ensime/ensime-server project. It provides all intelligence in this plugin (we're a thin layer on top).

One thing that trips Ensime quite often is classes that are not placed in the "right" directory for their package (Java style). If that's the case, you need to refactor your code.