AmailP / robot-plugin

Robot Framework support plugin for IntelliJ Idea
Other
72 stars 38 forks source link

can not parse template syntax correctly #30

Closed zengfanfan closed 7 years ago

zengfanfan commented 7 years ago

the plugin reports error for the following (template syntax): (1 + 1 is not kerword ....) and by the way, it can not detect keywords from imported lib (error reported again) errors everywhere ....

looking forward to new version fixed all these unexpected errors. thanks!

*** Test Cases ***
Normal test case with embedded arguments
    The result of 1 + 1 should be 2
    The result of 1 + 2 should be 3

Template with embedded arguments
    [Template]    The result of ${calculation} should be ${expected}
    1 + 1    2
    1 + 2    3

*** Keywords ***
The result of ${calculation} should be ${expected}
    ${result} =    Calculate    ${calculation}
    Should Be Equal    ${result}     ${expected}
AmailP commented 7 years ago

Hey,

I cannot reproduce the bug you are mentioning. Can you please tell me the version of IDEA and the version of the plugin that you use?

zengfanfan commented 7 years ago

IDE: pycharm 2016.2.3 community edition OS: windows 8.1 plugin: robot framework support version 0.16.1 (just updated, issue still)

it shows red wavy line for '1 + 1', which says "keyword definition not found", but it's an argument, not a keyword

(failed to upload screenshot ...)

zengfanfan commented 7 years ago

image

add screenshot

AmailP commented 7 years ago

Do you have installed also other robot framework plugins such as Intellibot?

On Tuesday, 20 September 2016, Hurry Zeng notifications@github.com wrote:

[image: image] https://cloud.githubusercontent.com/assets/8079595/18669687/d2c79f86-7f6e-11e6-8420-2c5091988f59.png

add screenshot

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AmailP/robot-plugin/issues/30#issuecomment-248284253, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0rFnudRNadn-DHSLOAXl63ZruTMG3Zks5qr87CgaJpZM4J5_9t .

zengfanfan commented 7 years ago

OH YES!!! after disabling Intellibot, it works fine .... so the error is reported by Intellibot, right ?

thanks!

AmailP commented 7 years ago

Yes, it looks like...

On Tuesday, 20 September 2016, Hurry Zeng notifications@github.com wrote:

OH YES!!! after uncheck Intellibot, it works fine .... so the error is reported by Intellibot, right ?

thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AmailP/robot-plugin/issues/30#issuecomment-248296663, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0rFjJ_GwOkp3ep6_ka_HcTl4Ys3IIUks5qr9tMgaJpZM4J5_9t .