mtrubs / intellibot

IntelliJ/PyCharm plugin for Robot Automation Framework
https://github.com/millennialmedia/intellibot/wiki
MIT License
159 stars 109 forks source link

Fix keyword decorator for top level functions and decorator parsing #210

Open jamofer opened 5 years ago

jamofer commented 5 years ago

This PR fixes the following issues related with keyword decorators:

import robot.api.deco
from robot.api import deco

@robot.api.deco.keyword('This works')
def this_works():
    pass

@deco.keyword(name="And this")
def and_this():
    pass