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.3)
- Code analysis: checks if keywords are properly imported/defined.
- Code completion for keywords, section headers, section settings and variables.
- Go to definition for keywords.
- Syntax highlighting.
- Syntax validation.
- Code Formatting (see: Editor Settings for details on how to toggle code formatting just for
robotframework
). - Launch
.robot
files. - Preliminary support for debugging.
- 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
- Step return
- 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.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04bec6b40301e266e88f472256874f0988a2b344582dec5aad44220b018cd925 |
|
MD5 | cdbd7d5c5efc016f40db9be2b06df9dc |
|
BLAKE2b-256 | dc4fb6003ceffff4e3c8ad25978406f6998ee54c4681ce023acea2c480699fbd |