rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 94 forks source link

File navigation goes to wrong file #401

Closed AllanWang closed 5 years ago

AllanWang commented 5 years ago

If I have Base.hs in both my src folder and test folder, and I have a module in my source folder that imports the source Base, it seems to navigate to the test version. Not sure why this is the case

rikvdkleij commented 5 years ago

When they have also the same module name, the plugin does not know which one.

And what if you import Base in a test file, which one do you mean then?

AllanWang commented 5 years ago

That makes sense. When I did my import it defaulted to the test file which is what I wanted so I didn't realize. Thanks!