Scala and Java mix in visual studio code

802 views Asked by At

I have been using IntelliJ IDEA for a predominantly maven based Java project that has some Scala code as well. The pom.xml uses scala-maven-plugin with scala-compile-first working well. I tried porting this project to Visual Studio code and found that the Java code does not recognise the existence of a Scala generated classes. In effect, the Java classes when referring to Scala classes shows "Type not found error". I have used Scala extension based on Ensime for VS Code https://github.com/dragos/dragos-vscode-scala. Not sure where it is going wrong. Any pointers would help.

0

There are 0 answers