nexoscp / PlatformIOLion

Intellij IDEA/CLion Plugin to integrate PlatformIO
Apache License 2.0
8 stars 1 forks source link

Add support for Library Dependency Finder (LDF) #5

Open nexoscp opened 5 years ago

nexoscp commented 5 years ago

see http://docs.platformio.org/en/latest/librarymanager/ldf.html

sith commented 4 years ago

Started work on this feature.

Originally I wanted to have auto-complete but it will be too slow. PIO CLI supports only pages with 10 elements on it, and the number of libraries let's say for arduino/atmelvar is ~2500. So far I couldn't not figured out how to intercept typing in completition mode so I decided to ove to Alt-Enter(Quick Fix) option.

User presses Alt-Enter and "Add Library" suggestion will appear. Dialog will allow to search for required library with direct queries.