Closed mcesaro closed 6 months ago
Cool, thanks.
Just an observation: before opening the issue I tried to replace dialyzer_plt:from_file()
with dialyzer_iplt:from_file()
, but then the call still failed complaining that the PLT file generated by rebar3 dialyzer
is not incremental.
Describe the bug The PLT-based erlang LS features are not available on VS Code and Vim editor
To Reproduce Just open any erlang OTP 26 project with a valid PLT file generated by
dialyzer
on VS Code and look at the Output tab.Expected behavior Successful processing of the dialyzer PLT file and specification suggestions working.
Actual behavior No suggestions and any other feature related to
dialyzer
analysis. In the VS Code output tab we see this warning message:The thing I cannot explain is that in the error description:
the reference to the undocumented
dialyzer_plt:from_file()
function is suspect, since I can't find it in the dialyzer source code in the erlang OTP repository.Thanks
Context
erlang_ls
version (tag/sha):Editor used: Version: 1.80.1 Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771 Date: 2023-07-12T17:22:25.257Z Electron: 22.3.14 ElectronBuildId: 21893604 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Linux x64 6.2.1-060201-generic
LSP client used: Erlang LS VS Code ext version 0.0.40 Server (0.44.1 -> 0.48.0) Published 11/17/2019, 22:56:41 Last released 7/8/2023, 12:23:40 Last updated 7/10/2023, 08:01:25 Identifier erlang-ls.erlang-ls