Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using CLion and PyCharm simultaneously

I am using CLion and PyCharm at the same time on one project. If I switch from CLion to PyCharm or vice versa I encounter the following message:

Project components were changed externally and cannot be reloaded:

ToolWindowManager
FileEditorManager
editorHistoryManager

Would you like to reload project?

I noticed my source Directories were revoked every time I switched to PyCharm. This is a problem since I need those Directories to be marked as source to have them automatically included in the Python path variable which is configured as run configuration.

Reloading the project is time consuming (especially with C++ code). Are there ways to avoid reloading or even encountering this message at all?

I am using CLion 1.2.2 and Pycharm 5.0.2 on Ubuntu 15.10

like image 944
Waschbaer Avatar asked Dec 22 '15 08:12

Waschbaer


People also ask

Can I use Python in CLion?

Python support in CLion CLion provides the following features to help you work with Python: Ability to configure local interpreters . Python console. Run/debug configurations for Python.

Does PyCharm work with C++?

Unfortunately PyCharm does not support any C/C++ coding and there are no existing plugins for PyCharm that will support this. With that said, there is an IDE for C and C++ called CLion which is released by JetBrains just like PyCharm.

How do I open two projects in CLion?

Go to Settings/Preferences | Appearance & Behavior | System Settings and choose one of the following options in the Project Opening section: Open project in a new window to open a new CLion window each time a new project is opened. Open project in the same window to stay in the same CLion window.

Can CLion open Visual Studio projects?

CLion supports and auto-detects Microsoft Visual C++ toolchain from Visual Studio 2013, 2015, 2017, and 2019. To use Clang-cl instead of MSVC, select the Visual Studio toolchain in CLion and point to clang-cl.exe in the toolchain settings (versions 8.0 and later are supported).


1 Answers

Starting from January 2016, the CLion 1.5 EAP series have Python support built-in, so you can use CLion both for C++ and Python, no need for PyCharm anymore :-)

Check out http://blog.jetbrains.com/clion/2016/01/python-support-in-clion/ for details.

like image 88
marco.m Avatar answered Nov 15 '22 19:11

marco.m