question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request : Better integration of environments in CLion

See original GitHub issue

Hi. I love platformio and have been using it for two years with CLion without a hitch. Recently I have started using multiple environments but they do not integrate at all in CLion :

  • Cannot run individual environments from the IDE
  • Code completion features are based on the first environment only

Those issues forced me to add a dummy environment, write some custom CMake and have some manual setup after each pio init, even though I felt that this could be integrated in platformio.

In the process of solving this issues for my project, I found ways around them which seemed very portable and thought that they might help enhance platformio’s integration with CLion.

I forked the repo, tried some things around and I managed to solve the above-mentioned issues. Should I submit a PR ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:28 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
ivankravetscommented, Aug 29, 2019

@Teo-CD great work! I like the new integration! PIO Core 4.0.3 is coming today 😊

2reactions
Teo-CDcommented, Aug 23, 2019

Thank you @ivankravets ! I really like the changes you made to ProjectGenerator, I’ll create a branch based on config as soon as I have the time.

Really nice to see the start of a CLion plugin ! I hope you will succeed with this endeavour, a CLion plugin would be awesome to have! 😃 @nexoscp

Read more comments on GitHub >

github_iconTop Results From Across the Web

Makefile projects | CLion Documentation - JetBrains
Go to Settings / Preferences | Build, Execution, Deployment | Build Tools. · Select one of the auto-reload options: Auto-reload settings. Any ...
Read more >
Integrated Environment - Features | YouTrack - JetBrains
Enjoy having everything together in one place. Track tasks, manage projects, keep a knowledge base, collaborate with your team, and deliver great products....
Read more >
Plugins | CLion Documentation - JetBrains
For example, install plugins to get the following features: Integration ... Press Ctrl+Alt+S to open the IDE settings and select Plugins.
Read more >
Support Makefile projects : CPP-494 - JetBrains YouTrack
I am so dissapointed to see that no steps are taken towards adding this so old and requested feature. I am no longer...
Read more >
What's New in CLion 2022.3 - JetBrains
CMake integration. CLion now comes with CMake 3.23 bundled. It integrates better with CMake presets and makes updating CMake scripts and options easier....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found