Closed m-amiri closed 1 month ago
The keywords of a library are cached when the library is analysed for the first time. With the plugin mechanism of SeleniumLibrary, new keywords are added, but there is no way for RobotCode to automatically recognise that there are new keywords.
Therefore, if you define new keywords in this way, simply execute the VSCode command RobotCode: Clear Cache and Restart Language Servers
via F1 to reload all libraries.
You can also exclude a library from caching. To do this, search for robotcode.analysis.cache.ignoredLibraries
in the VSCode Settings on the Workspace/Folder tab and simply add the SeleniumLibrary
.
Thankful @d-biehl 🙏
Describe the bug The keywords that are imported by library plugins are associated with a not found error. but the test PASSED and the plugin's keyword works in the background by robot.
Screenshots/ Videos
Logs automated-test ; /usr/bin/env xxx/.venv/bin/python xxx/.vscode/extensions/d-biehl.robotcode-0.83.0/bundled/tool/robotcode --default-path . debug --no-debug -- --parse-include features/test.robot --name Automated-Test --suite Automated-Test.Features.Test --by-longname Automated-Test.Features.Test.test1 .
Packages Versions