In order to take full advantage of PyCharm’s smart assistance features, such as code completion, PyCharm needs to have access to the libraries used in your code.
The following instructions will guide you through setting up your local environment to have access our
- Open your robot code project in PyCharm.
- Head to File → Settings or PyCharm → Preferences on a Mac.
Python Interpreterfrom the list on the left.
- Click the
+symbol at the top of the packages list to install a new library.
- Search for
Install PackageIf this results in an error, try selecting the
Install to user's site packages directorycheckbox at the bottom of the dialog and try again.
- All done. You can now close the Settings window.
You should now be able to use code completion and have quick access documentation by pressing CtrlQ (or ⌃J on a Mac)