platformio/platformio-core

Neovim + Arduino + PlatformIO

Open

#5,188 建立於 2025年6月24日

在 GitHub 查看
 (2 留言) (1 反應) (0 負責人)Python (791 fork)batch import
help wantedintegration

倉庫指標

Star
 (7,329 star)
PR 合併指標
 (平均合併 109天 16小時) (30 天內合併 5 個 PR)

描述

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"

貢獻者指南