Closed Heck-R closed 2 months ago
it is supported!
Source Action
Show Documentation
then a new window should open with the documentation of the library. In the upper right corner of this internal browser windows you can also open this help in an external browser.
This also works on every keyword definitions and calls.
there is another way to open this window. In the Explorer View there should be a Keywords View, here you can find all available libraries and keywords loaded in the current openen robot file. if you select here an item the you get some/a button on the left side of this item. Just click the Show Documentation
button
https://github.com/user-attachments/assets/529af3c8-ebea-4ac8-85a2-e8b1864918bd
Does that work for you?
Oh, that's perfect, thanks! Apologies then, I guess this was a case of VSCode skill issue on my part 😅 I'll close this then, thanks again for the fast response 🙂
Is your enhancement request related to a problem? Please describe. Sometimes libraries have library-level documentation, and certain stuff are just easier search and see in the HTML output of libdoc. This is pretty much the only cool feature I sometimes temporarily switch to the other RoF lsp extension for
Describe the solution you'd like Some kind of tab in VsCode that can open a library's HTML documentation, including remote imports (as long as it's available at the time of course), when the library name in the import is clicked / right clicked with a menu option etc.
Describe alternatives you've considered
libdoc <library> "$env:TEMP/OnDemandLibDoc.html"; . "$env:TEMP/OnDemandLibDoc.html"
with powershell via some shortcut, but specifying the lib and handling the additional browser window is annoyingAdditional context Example from the other extension: