WhatsApp / erlang-language-platform

Erlang Language Platform. LSP server and CLI.
https://whatsapp.github.io/erlang-language-platform/
Apache License 2.0
257 stars 20 forks source link

build-info plugin was not installed. #43

Closed Zabrane closed 3 months ago

Zabrane commented 3 months ago

Hi All

I'm using the latest ELP on macOS Sonoma 14.5 (Intel arch) under VSCode 1.92.1. All working perfectly but I got this annoying warning related to build-info plugin.

Screenshot 2024-08-11 at 02 30 22 Screenshot 2024-08-11 at 02 30 54

My config:

$ elp version
elp 1.1.0+build-2024-04-17

$ rebar3 version
rebar 3.23.0+build.5383.ref6ce35057 on Erlang/OTP 27 Erts 15.0

$ erl
Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [dtrace]
Eshell V15.0 (press Ctrl+G to abort, type help(). for help)

A colleague of mine got the same warning on his macOS M1.

Help appreciated Thanks

robertoaloi commented 3 months ago

Hi @Zabrane that means you don't have the build_info plugin installed. The plugin is currently necessary to automatically handle rebar3 projects. You can find the installation instructions here.

Alternatively, you can provide a custom configuration file as explained here.

Let me know if this helps.

Zabrane commented 3 months ago

Thanks a lot @robertoaloi. After activating the debug-info module globally, the warning was gone.