platformio/platformio-core

Neovim + Arduino + PlatformIO

Open

#5188 aperta il 24 giu 2025

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)Python (791 fork)batch import
help wantedintegration

Metriche repository

Star
 (7329 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hello,

I am working on a project that uses the arduino framework, and I am having issues running clangd/arduino-language-server LSP's on my .ino project file.

This may be the completely wrong place to post such questions but maybe someone here has a solution?

The problem lies with needing to run the arduino cli in order to get lsp support for an .ino file that contains arduino specific code, that is not available in the pio cli.

This forum post perfectly outlines my issue: https://community.platformio.org/t/using-arduino-language-server-with-platformio-in-neovim-possible/44134

This is the error I get upon trying to load the arduino language server [START][2025-06-24 09:11:36] LSP logging initiated [ERROR][2025-06-24 09:11:36] ...p/_transport.lua:36 "rpc" "arduino-language-server" "stderr" "09:11:36.503010 Path to ArduinoCLI config file must be set.\n"

Guida contributor