PyCharm with LSP

Longer version:

  1. Install Robot Framework 3.2.1: pip install -U robotframework
  2. Install Robot Framework LSP server: pip install -U robotframework-lsp
  3. Install LSP Support Plugin in PyCharm*
    image
  4. Add Server Definition to LSP Support
    Preferences > Languages & Frameworks > Language Server Protocol > Server Definitions
    Select Executable and select the robotframework-ls executable in the python bin or scripts folder.
    As alternative you could use the path to python executable in Path field and -u <path to repo>/src/robotframework_ls in the Args field.On windows use \ instead of / in these paths
  5. 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.
  6. Add robotframework.tmLanguage to TextMate Bundles
    Add the folder where the tmLanguage file is saved in. Not the file directly
  7. Restart PyCharm and enjoy