Use both CLion and PyCharm

已回答

Most of my work is in Python, using PyCharm. I use CLion for critical code, which Python accesses through libraries built through pybind11. I need features of both IDE's: CLion's PyCharm plugin isn't enough.

Ideally, both the Python and Cpp code would be part of the same project, allowing Git to manage development consistently for both sides. But pointing both IDE's at the same directory confuses both. Does anyone have advice on how to handle this sort of project? 

Thanks for any advice!

0

Hello!

There is a related issue in the IntelliJ Platform tracker - IJPL-8459. Feel free to comment or upvote it in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.
 
For now, the workaround would be to keep two separate .idea subfolders - each one for each IDE: for one IDE, you can create a project in a subdirectory (so that this IDE would create its .idea in its own subfolder), and then change the content root to the actual project (via the dedicated "Change Project Root" action in CLion or via Project Structure in PyCharm). This way, you'll have two completely independent .idea folders at different locations.

0

请先登录再写评论。