I have a resource file keywords.robot and a module calc.py with a class which contains the implementation of my keywords (code snippets below). And I would like to be able to jump from verify hostname in keywords.robot to def verify hostname(self): in calc.py. In my case this is not possible. Is it not supported to do that or does it have something to do with how I import the implementation as a library?
calc.py module:
class Calculator(BaseLogger):
def verify_hostname(self):
privateLog("VERIFY HOSTNAME")
keywords.robot:
*** Settings ***
Library calc.Calculator WITH NAME Calculator
*** Keywords ***
Hostname Überprüfen
verify hostname
As one can see in the screenshot below when I start typing verify (in the keywords.robot file) code completion works and shows me some definitions from Calculator class of calc.py module (calc.Calculator) - so it knows where the difinition comes from:
BUT when I hold CTRL + mouseover over the keyword verify hostname it tells that it cannot find the declaration:
(I´m using IntelliJ IDEA 14.0.3 Community Edition.)
Hi!
I have a resource file keywords.robot and a module calc.py with a class which contains the implementation of my keywords (code snippets below). And I would like to be able to jump from
verify hostname
in keywords.robot todef verify hostname(self):
in calc.py. In my case this is not possible. Is it not supported to do that or does it have something to do with how I import the implementation as a library?calc.py module:
keywords.robot:
As one can see in the screenshot below when I start typing
verify
(in the keywords.robot file) code completion works and shows me some definitions from Calculator class of calc.py module (calc.Calculator
) - so it knows where the difinition comes from:BUT when I hold CTRL + mouseover over the keyword
verify hostname
it tells that it cannot find the declaration:(I´m using IntelliJ IDEA 14.0.3 Community Edition.)