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:
RPA.Browser.Selenium
RPA.Cloud.Google
RPA.Desktop
RPA.PDF
RPA.Windows
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).
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:
RPA.Browser.Selenium
RPA.Cloud.Google
RPA.Desktop
RPA.PDF
RPA.Windows
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 withoutDynamicCore
or we find out a way of providing code completion with that (like adding *.pyi files which describe the interface, as observed with the upstreamSeleniumLibrary
).