Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keywords not found by intellibot #17

Closed
mike-white-extr opened this issue May 21, 2019 · 2 comments
Closed

Keywords not found by intellibot #17

mike-white-extr opened this issue May 21, 2019 · 2 comments

Comments

@mike-white-extr
Copy link

Issue with Pycharm, Intellibot plugin and the keyword decorator that have single quoted keyword name.
eg. @Keyword('Add Object To Json')
Intellibot seems to have issues with the decorators as defined in the robotframework-jsonlibrary.
It will only find single quoted keyword names, but not the unquoted keyword names when the @Keyword('keyword name') is used.
At runtime robot only works with the unquoted Keywords.
If I comment out the decorators in my copy of robotframework-jsonlibrary, IntelliBot finds the unquoted keywords fine.

PyCharm 2019.1.2 (Community Edition)
Build #PC-191.7141.48, built on May 7, 2019
JRE: 11.0.2+9-b159.56 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
IntelliBot @SeleniumLibrary Patched v0.10.143.381
robotframework-jsonlibrary 0.3
Python 3.7.3

@wichy13
Copy link
Collaborator

wichy13 commented Jul 16, 2019

Can you try this plugin (https://github.com/lkrazy/intellibot)?
It fix issue ("Keyword definition not found" for SeleniumLibrary in PyCharm #191" : mtrubs/intellibot#191).

Is it relate your issue?

@MoSedky
Copy link

MoSedky commented Jul 22, 2021

You can try to change ' ' to " " and then it will be defined by Pycharm. Example:
@keyword('Get Value From Json') change it to @keyword("Get Value From Json") . It did work for me

elrandira pushed a commit to elrandira/robotframework-jsonlibrary that referenced this issue May 23, 2022
@elrandira elrandira mentioned this issue May 23, 2022
elrandira added a commit that referenced this issue May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants