can't find include lib "proper/include/proper.hrl" #1104
-
Hi, I'm not 100% what's going on here but I am having trouble including proper in a simple test case. The extension is failing with 'can't find include lib "proper/include/proper.hrl"', when the CLI is perfectly happy to compile and run the test case in question. My erlang_ls.config:
my rebar.config:
The file where the error is happening is in
The thing is, the include files definitely are in Any ideas on what is wrong here? At first I thought it was to do with my configuration somewhere but I can't see where it would be having trouble. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
The same thing happens to me and what I do is put the full path:
|
Beta Was this translation helpful? Give feedback.
-
@erpcfe That should not be required (and it could easily break when using different rebar3 profiles). @astutecat The config I use for rebar3 projects:
The only difference I can see is the trailing slash after Could you show the |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. The workaround listed above does not work. |
Beta Was this translation helpful? Give feedback.
-
@hackerjones What does your full |
Beta Was this translation helpful? Give feedback.
-
I have created a very minimal example here https://github.com/hackerjones/els_proper |
Beta Was this translation helpful? Give feedback.
-
Adjust your
The important line here was:
Hopefully, once the BSP support is stable enough, the need for manual configuration will disappear altogether! |
Beta Was this translation helpful? Give feedback.
Adjust your
erlang_ls.config
as follows:The important line here was:
Hopefully, once the BSP support is stable enough, the need for manual configuration will disappear altogether!