NitorCreations / RobotFramework-EclipseIDE

Developing an Eclipse IDE for the Robot Framework test automation tool
71 stars 53 forks source link

Commented variables return error at validation (1.1.0) #47

Open bgd77 opened 11 years ago

bgd77 commented 11 years ago

This happens for version 1.1.0

In my variables table I have some variables that are commented:

* Variables *

${VARIABLE_NAME} Variable Value

When the Robot Framework Validation Nature is activated, the following error is displayed for it: "Variable must start with ${ or @{ and end with }"

I think that this error should not be displayed for commented text. Maybe the following error, which is displayed for other commented text, is better: "Unknown text ignored"

xkr47 commented 11 years ago

Yes; the validation implementation is really only in its initial stages. It is not documented at all and Its development was suspended in an early stage to focus on getting the basic editor finished. So currently we do not even mention the whole feature since it isn't really useful as it is now.

But yes, it needs to be fixed. Thanks for your vote.

bgd77 commented 11 years ago

Ok, thanks for the answer. Also, removing the validation nature does not seem to work, the warning and errors are still displayed.

xkr47 commented 11 years ago

Yeah they might "stick around". You can always select the errors in the list and hit Delete to remove them manually.