Longer version:
-
Install Robot Framework 3.2.1:
pip install -U robotframework -
Install Robot Framework LSP server:
pip install -U robotframework-lsp -
Install LSP Support Plugin in PyCharm*
-
Add Server Definition to LSP Support
Preferences>Languages & Frameworks>Language Server Protocol>Server Definitions
SelectExecutableand select therobotframework-lsexecutable in the python bin or scripts folder.
As alternative you could use the path to python executable inPathfield and-u <path to repo>/src/robotframework_lsin theArgsfield.On windows use\instead of/in these paths
-
Download TMLanguage definition
The TMLanguage is the definition file to get s proper syntax highlighting. This is completely independent from LSP and code completion itself.
Download this file and put it in a directory where it can stay. -
Add robotframework.tmLanguage to TextMate Bundles
Add the folder where thetmLanguagefile is saved in. Not the file directly
- Restart PyCharm and enjoy

