Skip to content
humbienri edited this page Apr 4, 2019 · 8 revisions

PyCharm | IntelliJ

The easiest way to tell if the plugin is setup correctly is to open a .py file and confirm that it works. Its imports should be resolved and its function linking and such should be functional. If this is the case then you should get the same functionality in the Robot files for python. If you want the BuiltIn Robot features you need to make sure that the RobotFramework is in your Python site-packages directory.

PyCharm

Python is natively supported by PyCharm so there is no need to download any additional plugins to gain support. You will however have to make sure that you are using the desired python version or virtual environment. To confirm, go to the Preferences>Project: {Name}>Project Interpreter:

configuring the interpreter

If that is set correctly you should confirm you are using the project default (or specific python version) interpreter in the Preferences>Build, Execution, Deployment>Console>Python Console configuration.

configuring the console

IntelliJ

In the case of IntelliJ you will need the Python plugin that JetBrains provides and supports. Under Preferences>Plugins>Install JetBrains Plugin...:

the python plugin

From there you will have to configure a python SDK. Under Project Structure>SDKs:

configuring the SDK

Lastly you need to associate it as in interpreter for your project. You can do this under the project itself or under your robot module by adding a python module if needed. Under Project Structor>Project>Project SDK or Project Structor>Module>Python Interpreter:

configuring the interpreter

Hosted Plugin

Feel free to rate it.


If you have any questions, comments, or ideas feel free to add them here or contact me directly.

Clone this wiki locally