robotcode
robotcode copied to clipboard
[Enhancement] New keywords not found until cache is manually cleared
Describe the bug If I write a new keyword in an existing test library and use it in a .robot/resource file, RobotCode doesn't recognize it until I do a "Clear Cache And Restart Language Servers".
Steps To Reproduce Steps to reproduce the behavior:
- Add a new keyword in an existing test library
- Add a call to that keyword in a .robot/resource file where the test library is used
Expected behavior When I save the test library file after adding the new keyword, RobotCode should recognize that a test library that it's already aware of has changed and update the cache automatically. This should also be the case when a keyword is removed.
Desktop (please complete the following information):
- VS Code Version 1.98.0
- RobotCode Version 1.0.0
- OS: Windows
- Python Version 3.11.9
- RobotFramework Version 7.2.2