RobotFramework-EclipseIDE icon indicating copy to clipboard operation
RobotFramework-EclipseIDE copied to clipboard

Commented variables return error at validation (1.1.0)

Open bgd77 opened this issue 12 years ago • 3 comments

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"

bgd77 avatar Feb 26 '13 07:02 bgd77

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.

xkr47 avatar Feb 26 '13 17:02 xkr47

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

bgd77 avatar Feb 28 '13 07:02 bgd77

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

xkr47 avatar Feb 28 '13 08:02 xkr47