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
Robot Framework Language Server
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 Robot Framework Language Server
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.3.0)
- Code analysis: checks if keywords are properly imported/defined.
- Code completion for keywords, section headers, section settings, variables, resource imports and library imports.
- Go to definition for keywords, variables, resource imports and library imports
- 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 Robot Framework Language Server
.
Reporting Issues
See: Reporting Issue for details on how to report some issue in the Robot Framework Language Server
.
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.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d94f510d70b1fee09c383146a37e2ae5b92c18bd055ccdb18ecb0465a27477c |
|
MD5 | 3caf9415d664a44fb3b289d9e605d7a3 |
|
BLAKE2b-256 | 34b353c910f0dd0af8a01a706efb616f3f05347b4e198c52b6d757e749bb63d7 |