You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We are creating variables dynamically with names like ${SOME_VARIABLE_${i}}. These are reported by LSP as being undefined even though they work fine when run with Robot.
To Reproduce
*** Test Cases ***
Some Test Case
[Setup] Initialize Variables
Log ${SOME_VARIABLE_0}
Log ${SOME_VARIABLE_1}
Log ${SOME_VARIABLE_2}
*** Keywords ***
Initialize Variables
FOR ${index} IN RANGE 3
Set Test Variable ${SOME_VARIABLE_${index}} Value ${index}
END
Expected behavior
I either expect that these would be properly detected as being valid variables OR being omitted from the analysis of undefined variables.
Screenshots
Versions:
OS: Windows 11
Robot Framework Version: 5.0
Robot Framework Language Server Version: 0.43.2
Client Version: 1.66
Logs
Logs can be recreated by running the sample code above.
The text was updated successfully, but these errors were encountered:
Describe the bug
We are creating variables dynamically with names like ${SOME_VARIABLE_${i}}. These are reported by LSP as being undefined even though they work fine when run with Robot.
To Reproduce
Expected behavior
I either expect that these would be properly detected as being valid variables OR being omitted from the analysis of undefined variables.
Screenshots
Versions:
Logs
Logs can be recreated by running the sample code above.
The text was updated successfully, but these errors were encountered: