robotcodedev / robotcode

RobotFramework support for Visual Studio Code
https://robotcode.io
Apache License 2.0
186 stars 15 forks source link

[ENHANCEMENT] LibDoc HTML preview inside VsCode #307

Closed Heck-R closed 2 months ago

Heck-R commented 2 months ago

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

Additional context Example from the other extension: image

d-biehl commented 2 months ago

it is supported!

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

d-biehl commented 2 months ago

Does that work for you?

Heck-R commented 2 months ago

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 🙂