softmotions / acdb Goto Github PK
View Code? Open in Web Editor NEWClang's C/C++ compile_commands.json generator for Arduino projects
License: Other
Clang's C/C++ compile_commands.json generator for Arduino projects
License: Other
Steps to reproduce:
install arduino:sam core using arduino-cli
acdb --fqbn=arduino:sam:arduino_due_x in project repo
touch main.cpp
in neovim using an lspconfig setup with clangd:
#include <stdlib.h>
try to goto_definition
also in arduino.h with that fqbn:
Even after adding
let g:coc_filetype_map = {
\ 'ino': 'cpp',
\ }
to my init.vim and generating a valid compile_commands.json inside of the sketch folder coc-clangd doesnt seem to start. Heres my :CocInfo :
vim version: NVIM v0.8.0
node version: v18.10.0
coc.nvim version: 0.0.81-bf505641 2022-07-30 19:03:27 +0800
coc.nvim directory: /home/(me)/.vim/plugged/coc.nvim
term: rxvt-unicode-256color
platform: linux
## Log of coc.nvim
2022-10-04T14:24:56.933 INFO (pid:38688) [plugin] - coc.nvim initialized with node: v18.10.0 after 180ms
2022-10-04T14:24:56.993 INFO (pid:38688) [services] - registered service "clangd"
2022-10-04T14:24:57.046 INFO (pid:38688) [attach] - receive notification: highlight []
2022-10-04T14:24:59.586 INFO (pid:38688) [attach] - receive notification: showInfo []
Am I missing something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.