robotframework / robotframework/RIDE

Syntax colorization does not detect error when keyword is defined multiple times

Open
#1,076 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug prio-medium
Dominant language
Python
Stars
1k
Forks
385
Avg merge
13m
Merged PRs (30d)
2

Description

Originally submitted to Google Code by @Tattoo on 22 Aug 2012

When having multiple libraries with the keyword of the same name, syntax colorization accepts short name of the keyword as valid and automatically links it to the first library it finds.

However, Robot does not allow this, but you need to define the library with the keyword.

See screenshots.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the case described in the issue with multiple libraries defining the same keyword, then trace the syntax colorization and keyword-linking entry points. Done means an ambiguous short keyword is not accepted or linked automatically, while the explicitly library-qualified keyword is handled correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.