robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

[Enhancement] New keywords not found until cache is manually cleared

Open AndersHogqvist opened this issue 11 months ago • 4 comments

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:

  1. Add a new keyword in an existing test library
  2. 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

AndersHogqvist avatar Mar 06 '25 09:03 AndersHogqvist