Describe the bug
Refactoring does not update resource file references
Description:
Refactoring operations in Robot Framework projects are not updating resource file references automatically.
Specifically:
When a resource file is renamed, existing imports in other .robot files are not updated.
When a resource file is moved to a different folder, references are not updated automatically.
Steps To Reproduce
Steps to reproduce the behavior:
Prerequisite: All the python and pycharm setup should be done correctly.
- Create a project and add file name lets say filename1.robot
- Create another file as resource.robot
- As import call the resource file in filename1.robot (Resource resource.robot)
- Now right click on Resource.robot and refactor (rename) as Resources.robot and refactor
- All the variables used in resources.robot should be automatically update in filename1.robot but it is not updating
Expected Behavior
All references to the resource file should be automatically updated when:
The file is renamed
The file is moved
Actual Behavior
References remain unchanged.
Import paths become invalid, causing errors during execution.
Desktop (please complete the following information):
- RobotCode Version [2.5.1]
- OS: [Windows 11]
- Python Version [3.14]
- RobotFramework Version [7.4.2]
- Pycharm version [Runtime version: 25.0.2+1-b329.72]
Describe the bug
Refactoring does not update resource file references
Description:
Refactoring operations in Robot Framework projects are not updating resource file references automatically.
Specifically:
When a resource file is renamed, existing imports in other .robot files are not updated.
When a resource file is moved to a different folder, references are not updated automatically.
Steps To Reproduce
Steps to reproduce the behavior:
Prerequisite: All the python and pycharm setup should be done correctly.
Expected Behavior
All references to the resource file should be automatically updated when:
The file is renamed
The file is moved
Actual Behavior
References remain unchanged.
Import paths become invalid, causing errors during execution.
Desktop (please complete the following information):