ignatov / intellij-erlang

Erlang IDE
https://www.jetbrains.com/help/idea/2018.2/getting-started-with-erlang.html
Other
732 stars 121 forks source link

Include directory lookup counterindicated with typer #592

Open jcc333 opened 9 years ago

jcc333 commented 9 years ago

let's say I have an include directory at project_root/include, and I have a module with -include("include/file.hrl"). The plugin does not properly import the file, but typer does. Now let's say I have -include("file.hrl"). The plugin properly imports the file and allows me to jump to declarations etc, but typer no longer does. This makes using static analysis tools far more cumbersome alongside intellij.

deadok22 commented 9 years ago

What's your project setup in IntelliJ? It is supposed to work in both of cases you mentioned, if configured properly

haoxianhan commented 8 years ago

@deadok22 I'v import a existing project from eclipse, I get this problem too, which property should I setup??? I found some resolve that mark directory as Include Root, but I never found this instead Source Root, Ect....