IntelliJ + Maven + Java + Scala : Compile errors link to wrong paths when using linux-symlinks


I have a mixed Scala Project and I use the scala-maven-plugin.

When I clik on a compiler error in the "Problems tab" this opens a *new* tab with a view to the compile but somehow rooted to the linux home directory instead of the project's root folder.

IntelliJ IDEA 2019.3.3 (Ultimate Edition)
Build #IU-193.6494.35, built on February 11, 2020
Runtime version: 11.0.5+10-b520.38 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.4.17-200.fc31.x86_64
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Non-Bundled Plugins: com.intellij.plugins.watcher, Key Promoter X, PlantUML integration, Pythonid, aws.toolkit, com.dubreuia, com.github.beansoftapp.reatnative.idea, org.intellij.scala, com.intellij.bigdatatools, com.intellij.kubernetes, mobi.hsz.idea.gitignore, net.ashald.envfile, net.seesharpsoft.intellij.plugins.csv, org.asciidoctor.intellij.asciidoc, org.jetbrains.plugins.hocon, org.scalafmt.ScalaFmt, ru.adelf.idea.dotenv, zielu.gittoolbox

Scala Plugin version: 2019.3.26


Example file with the error highlighted:



When I clik on the error on the Problems tab a *new* read-only file opens



*UPDATE*  /home/ssd is a linux symlink to /ssd, this is probably the problem !


Is this a known issue ?

I could not find any related bug.







Please sign in to leave a comment.