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

Intellibot does not support new FOR syntax #3

Closed
zastress opened this issue Nov 18, 2019 · 5 comments
Closed

Intellibot does not support new FOR syntax #3

zastress opened this issue Nov 18, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@zastress
Copy link

Starting with RF 3.1 there is a new syntax for FOR loops.
Old Implementation:

:FOR    ${animal}    IN    cat    dog    cow
\    Keyword    ${animal}
\    Another keyword

New implementation:

FOR    ${animal}    IN    cat    dog    cow
    Keyword    ${animal}
    Another keyword
END

More details here: https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-3.1.rst#for-loop-enhancements

@lte2000 lte2000 added the enhancement New feature or request label Nov 18, 2019
@lte2000 lte2000 self-assigned this Nov 18, 2019
@lte2000
Copy link
Owner

lte2000 commented Nov 18, 2019

Neither new loop syntax nor old for loop is supported by original Intellibot.
You don't see red underline with old : FOR just because it skip inspection explicitly.

I do some quick dev, now it should resolve keyword and variable in the loop correctly (you can see different font used comapring with old plugin). Please try the attached intellibot.jar
intellibot.zip

It also support resolve variables using extended syntax, e.g, ${var * 10 + 3}

@zastress
Copy link
Author

zastress commented Nov 18, 2019

Installed the plugin in the archive. It seems it only recognizes de END section. See printscreen
2019-11-18_1437
Also, the variable inside the FOR is underlined ( ${PASSWD} ) in this screenshot

@lte2000
Copy link
Owner

lte2000 commented Nov 18, 2019

updated:
intellibot.zip

@zastress
Copy link
Author

It's ok now.

@lte2000
Copy link
Owner

lte2000 commented Dec 12, 2019

code in dev_0.10.143.386.
Please download and install the intellibot.jar from https://github.com/lte2000/intellibot

@lte2000 lte2000 closed this as completed Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants