Closed betapl3b closed 2 years ago
Do you mean in you Test Cases, it like:
*** Test Cases ***
Test
- Open main page
? Check page title
While your keyword definition is like:
*** Keywords ***
Open main page
Log a
Check page title
Log b
And you want resolve "- Open main page" in your Test Cases to "Open main page"?
Exactly! And most of my keywords are from custom python library if it matters.
Please try the attached intellibot. "intellibot.zip"
@lte2000 it's perfect, appreciate it!
@betapl3b , any plans to include this to the main branch?
@robco I am not owner of the repo. Actually this feature is quite specific (only for ALM convertor users) and I think there is no need to merge it. For someone who needs it, I think, this .zip build is enough
@betapl3b, this is not about "ALM Convertor". Robot Framework supports custom prefixes which can be utilized by various "conventions approaches". For example Gherkin, etc. Having this available as custom build is fine as long as new Intellibot version will be/was released. Newer versions of Intellibot will make this custom build outdated and probably incompatible in case PyCharm will change something in the middle..
Hello @lte2000 ! I like your version of plugin and want to use it with Robotframework ALM converter. The thing is: this converter requires some tricky syntax, so all of keywords start with "-" or "?" symbol. So instead of
Open main page
Check page title
it will look like- Open main page
? Check page title
I believe it's enough to find "Search for reference" code and add some conditions to ignore this prefix or to add this symbols to 'Gherkin-like' prefixes list. I tried to fork and build your plugin by myself but faced an issue with com.jetbrains.python.psi lib for some reason. I wanted to ask your help with that issue or just build that fix for me in separate branch (or send jar via email) if you know how to implement it quikly. Waiting for your reply!