platformio/platformio-core

Neovim + Arduino + PlatformIO

Open

#5,188 创建于 2025年6月24日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)Python (7,329 star) (791 fork)batch import
help wantedintegration

描述

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"

贡献者指南