Language Server Protocol implementation for Robot Framework
Python 3.7+ and Robot Framework 3.2+ (note that Robot Framework may be installed in a separate python interpreter in case you need to run it with an older version of Python).
robotframework-lsp
can be installed from the VisualStudio Marketplace or as a .vsix
.
To get a .vsix
, download the latest Deploy Extension
in Robotframework-lsp Github Actions.
See: Install from a vsix for details installing a .vsix
into VSCode.
See: Getting Started for a tutorial with some screenshots.
After having robotframework-lsp
installed, some configurations (such as specifying
the python executable used for launching the Language Server or Robot Framework)
may be needed.
See: Config for details.
- Preliminary code completion support for variables defined in Variable Tables and Keyword Return Values (new in 0.1.1).
- Code analysis: check if keywords are properly imported/defined.
- Code completion for keywords, section headers and section settings.
- Go to definition for keywords.
- Launch
.robot
files. - Syntax highlighting.
- Syntax validation.
- Code Formatting (see: Editor Settings for details on how to toggle code formatting just for
robotframework
).
See: Changelog for details.
See: Developing for details on how to develop robotframework-lsp
itself.