Autocomplete for variables from Python variable file #429
Unanswered
sintpertmartinez
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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