Skip to main content

A python module to create json for VSCode Robot Framework Intellisense.

Project description

LibDoc2Json

Small python class which converts Robot Framework Libdoc XML Files to JSON that is compatible with VSCode plugin "Robot Framework Intellisense"

Installation:

pip install -e <path to source folder>

Usage:

python -m libdoc2json <LIBRARY or *.robot or *.py> <MyLibrary.json>

The generated json file might be put o this folder and then be set up in settings.json of vscode.

"rfLanguageServer.libraries": 
[
    "BuiltIn-3.0.4",
    "SeleniumLibrary-3.2.0",
    "Dialogs-3.0.4"
    "MyLibrary"
]

Path to Library docs

<userprofile>\.vscode\extensions\tomiturtiainen.rf-intellisense-2.5.0\server\library-docs

It is also possible to just put the complete JSON into the rfLanguageServer.libraries List.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework-libdoc2json-0.3.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

robotframework_libdoc2json-0.3-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page