robotframework-libdoc2json

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


License
Apache-2.0
Install
pip install robotframework-libdoc2json==0.2

Documentation

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.