robocorp / rpaframework

Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used with both Robot Framework and Python
https://www.rpaframework.org/
Apache License 2.0
1.08k stars 210 forks source link

Code completion issue in some of the `rpaframework` libraries #954

Open mikahanninen opened 1 year ago

mikahanninen commented 1 year ago

The code completion in Python syntax has been an issue in Python development for too long and we received the latest complaint today in the Dev Slack about this problem.

I made an initial assessment of all our libraries and this problem is about these:

The RPA.Browser.Playwright shows the keywords, but that does not show the keyword docstring (only the method signature).

A common "thread" with these libraries is that they are all built on robotlibcore.DynamicCore. So either we restructure these libraries to work without DynamicCore or we find out a way of providing code completion with that (like adding *.pyi files which describe the interface, as observed with the upstream SeleniumLibrary).

cmin764 commented 1 year ago

Strongly related to the Issue here to add some intel, was closed as won't fix back then, but happy to search together for solutions now!