platformio/platformio-core

Neovim + Arduino + PlatformIO

Open

#5.188 aberto em 24 de jun. de 2025

Ver no GitHub
 (2 comments) (1 reaction) (0 assignees)Python (791 forks)batch import
help wantedintegration

Métricas do repositório

Stars
 (7.329 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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"

Guia do colaborador