Open
Description
Describe the bug
Whenever Setting a new variable with the Set (Test/Suite/Global) Variable keyword there is a robotcode.namespace(VariableNotFound) error message even though running the test case raises no such error.
To Reproduce
A More Complex Test Case
[Documentation] Test documentation
[Tags] standard-example-tag
Set Test Variable ${EXPECTED_LENGTH} 3
${IS_LARGER_THAN_FOUR} Create List suite scope variable
Length Should Be ${IS_LARGER_THAN_FOUR} ${EXPECTED_LENGTH}
Expected behavior
Expect it to detect that the variable was created previous to usage.
Logs
Copy the messages from VSCode "Output" view for RobotCode and RobotCode Language Server for the specific folder/workspace.
Desktop (please complete the following information):
- VS Code Version 1.87.0
- RobotCode Version 0.76.2
- OS: MacOS
- Python Version 3.11.8
- RobotFramework Version 6.1.1
- robotframework-robocop 5.0.3
- robotframework-tidy 4.9.0
Additional context
If the variable is first listed in the *** Variables *** section then the error goes away.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status