Python Variable Auto Completion
I have the same question as a previous poster: https://community.smartbear.com/t5/Desktop-Testing/Python-and-IDE-auto-complete/m-p/104937/highlight...
var aLongVariableName = Sys.Process("chrome"); aLo
anotherLongVariableName = Sys.Process("chrome") ano
If I were to write the above code in Python, I would not be offered the name of the previously defined variable. Does the python IDE just not have this functionality, or perhaps if I declare it a special way I could get my auto completion back?
Solved! Go to Solution.
Unfortunately, in TestComplete IDE auto-completion for python works only if variable was declared or imported on the top level of the module:
from some_module import variable1 variable2 = 222 class A: def __init__(self): self.variable3 = 333 def foo(): variable4 = 444 ''' Auto completion will work only for variable1 and variable2 '''
You can create the feature request for this case.