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.2)
- 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.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba4362136d0adcdbd1e64ed3d254f9fc905159e1f6cdd5c9a5e435f2bee5901 |
|
MD5 | 3b82b4d133e1d5e7922347a54440167a |
|
BLAKE2b-256 | 5a742eca7dcf0d423f8e770b30e5cb51e915f5b922cefad67e719ab319692532 |