Closed gbaranski closed 4 years ago
This is a known issue, we requested this feature here https://youtrack.jetbrains.com/issue/CPP-19412 CLion does not install PlatformIO Core automatically for you:
So, you should have working platformio --version
command when opening the system terminal or after the restart of your OS. You need to patch the PATH system environment variable and extend it with a folder where PlatformIO Core is installed. We don't have SUDO/Administrative permissions. As a result, we can't do this for you.
The other option is to install PlatformIO IDE for VSCode, it will install PlatformIO Core automatically for you. You will just need to path the system PATH and switch back to CLion.
/cc @anastasiak2512 @elmot
Awesome, thanks :)
Does it work now?
@ivankravets that works, now I'm trying to figure how to fix syntax highlithing, CLion doesn't see default Arduino.h library
@gbaranski ensure that your files are c++ (i.e. have .cpp extension)
Hello, can you more precisely explain how to "path the system PATH" ? I met the same problem and nothing work, but I've PIO Core thanks to VSCode, from this I don't know how to link the packages with CLion.
CLion version 2019.3.5 x64, doesn't work on both Windows 10 and Mac os catalina, shows "Gathering info..." and on bottom "PlatformIO utility is not found". I can't find any fix