Autocomplete for variables from Python variable file #429
Replies: 4 comments 1 reply
-
sorry this is not supported at the moment, feel free to create an enhancement request ;-) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, Daniel... will do :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would love this feature too :-) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Enhancement request created |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I recently switched from robocorp/robot framework language server to RobotCode.
I have Python variable files, like e.g.
class Page1.py:
var1 = 1
var2 = 2
class Page2.py:
var1 = 3
var2 = 4
In robot they are imported as variables
*** Settings ***
Variables Page1.py
Variables Page1.py
Now in the test they are used like
doSomething ${Page1.var2}
doSomethingElse ${Page2.var1}
Works fine !
My question is about autocomplete:
In Robot Framework Language Server the variables within the classes were found by autocomplete. When typing e.g.
${Page1.}
all variables within Page1.py were available to select.With RobotCode autocomplete does not get the variable names from the respective class - have to type the variable names manually.
So my question: In order to have the variable names available for autocomplete, do I need to configure something, or do something differently ?
Or does RobotCode simply not support this ?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions