Sorunome / arduino-upload

Atom Package for those who don't like the Arduino IDE
https://atom.io/packages/arduino-upload
MIT License
34 stars 7 forks source link

[Feature request] Add compilation database support #89

Open vivi90 opened 3 years ago

vivi90 commented 3 years ago

The ide-cpp package in Atom needs the compilation database (compile_commands.json) to work properly with Arduino code. This feature is now implemented in arduino-cli, please see: https://github.com/arduino/arduino-cli/issues/849#issuecomment-770390848

So it would be great to support this feature to be able to use code checks and completion for Arduino code. Without it i get allways the message Unable to handle compilation, expected exactly one compiler job in '' by clangd.

This feature is also related to the atom-ide-cpp plugin, see: https://github.com/thomasjo/atom-ide-cpp/issues/19