jnhyperion / HyperRobotFrameworkPlugin

Robot Framework plugin for PyCharm.
31 stars 5 forks source link

Feature Request: resolve robot.api.deco keywords #76

Closed e2m32 closed 5 months ago

e2m32 commented 5 months ago

Robot Framework has the feature to create keywords as decorators to functions. https://robot-framework.readthedocs.io/en/latest/autodoc/robot.api.html#robot.api.deco.keyword

These keywords are not resolved by the Plugin. image

Great plugin! Thank you for your work! Best one for PyCharm, I've tried them all.

jnhyperion commented 5 months ago

Thanks for your support.

image image

the keywords with the robot deco and custom name is supported, please provide more details.

e2m32 commented 5 months ago

Ahh, ok perfect. Thank you for the explanation. The decorator I was using was formatted like this:

from robot.api import deco

@deco.keyword("custom name")
def example():
   pass

After updating to your import, it resolves. Thanks!