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.4.tar.gz (7.0 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page