Automatic refresh referenced python library
Hi,
I recently moved from Eclipse/RED to Robot Framework on VSCode with robot framework langage server extension.
I loaded all my lib and robot test and it's worked fine, but since this time all keywork added in python lib are not linked on the robot files :
I don't have any problems to run the test, only the link doesn't work. It's like the cache lib are not reload.
How can I fix that ? I tried with Clear caches and restart Robot Framework Langage Server but it's doesn't change anything.
See: https://github.com/robocorp/robotframework-lsp/issues/582#issuecomment-1047276553
The EXECDIR is set, I don’t have error on the import line but this is the libspec who is not refresh when the python library is updated.
Can you provide a sample project where I can reproduce this?
This join a sample project. sample.zip
I created an empty projet on vscode and I noticed that the bug was not present, the new function was reconized on my Test. So I checked the difference between my project, and I saw the libspecs folder (previously generated on Eclipse/RED). So I created a libspecs folder and I generated the libspec of my lib with the robot.libdoc file I've found on web, and I added a new function on the lib and this one was not reconized on my Test like on my project:
So I removed the libspecs folder on my project and it's work fine !
May be this folder should not be taken into account or py_cache folder should be priority