Language Server Protocol implementation for Robot Framework
Project description
Language Server Protocol implementation for Robot Framework
Requirements
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).
Installing
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.
Configuration
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.
Features (0.2.0)
- 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
). - Preliminary code completion support for variables defined in Variable Tables and Keyword Return Values (new in 0.1.1).
- Preliminary support for debugging (new in 0.2.0).
- Note: this is an initial release for the feature and should be considered beta (please test and report any issues found).
- The current functionalities include:
- Add line breakpoints
- Pause at breakpoints to inspect the stack and see variables
- Step in
- Step over
- Continue
See: Changelog for details.
Developing
See: Developing for details on how to develop robotframework-lsp
itself.
License: Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for robotframework_lsp-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9d4b27f6f56fdf732c1a028b4e857c914c1f201d55b8eda19e2077c764e045 |
|
MD5 | 9249231171b2415d2108f416c47056b6 |
|
BLAKE2b-256 | 049077068c814ec760b17e6e05a060f70ff37beee6a9dccf93c436342a12a344 |