Closed rocveralfre closed 4 years ago
It seems related to a
-behavior(supervisor).
That was in my source file.. By removing the behavior declaration erlang_ls compiled successfully the file.
Can you try with current master? It may be fixed by https://github.com/erlang-ls/erlang_ls/pull/755
Hi @rocveralfre and thanks for getting in touch!
This should already be solved in 0.4.1
(available in the VSCode marketplace via 0.0.14
) via #745 and #755. Please upgrade to the latest available version of the extension and let us know if that does not help.
Have a great day!
Thanks for the quick answer.
I will try to check tomorrow morning and report in case of further errors.
Thanks for all the work I wish I could help you somehow but for now we'll try to test as much as possible with our production code.
In case is there anything else I could help you please let me know! :)
Describe the bug On the OnSave event, Visual Studio shows an endless "Compiler (__module_name__): 0/1"
In reality, my debug logs show a crash in the format of:
To Reproduce This is my current erlang_ls.config:
Expected behavior I voluntarely made a mistake in the code to check what Visual studio shows in that case, I would expect to see the line highlighted with the error.
Actual behavior It endlessly waits for the "Compiler" step to return (which never does of course due to the crash).
Context
erlang_ls
version (tag/sha): 0.4.0