Skip to content

Extra get parameters are incorrectly highlighted as valid variables, when variables exist #282

Description

@solara404

Description:

When using the get command on Linux version 0.17.0, existing variables are color coded. However, when a valid variable is followed by an extra variable, the extra variable is also color coded as valid, when it exists, instead of red. Since the command now contains more than the valid number of parameters for get, the extra variable should be marked as invalid or red.

Reproducing the bug:

  1. create a variable:
    set var xxx

  2. enter get command and provide the variable 'var' more than once.
    get var var both are colored as valid variables

Expected behavior:

get var var the second and all following 'var' should be red

Actual behavior:

get var var both are colored as valid variables

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions