Skip to content

Clion code autocompletion (import Arduino.h) #1674

@vitt0ri0

Description

@vitt0ri0

I cannot get to work code autocompletion in Clion.

I have followed this guide (http://docs.platformio.org/en/latest/ide/clion.html) and installed PIO Core, then I have created a new blink project. I have managed it to work from command line.
(Just created a main.cpp with "blink" content and executed pio run -t upload. It works nice).

However I need autocompletion in CLion. I have added a line
add_executable(myproject src/main.cpp)
into CMakeLists.txt, but i doesn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions