Keywords with a dot character (punctuation mark) are being incorrectly highlighted in test cases
See original GitHub issueDescribe the bug Keywords that have a dot character (punctuation mark) in its name are being incorrectly highlighted in test cases.
Please, take a look at line 13 in the screenshot below.

This highlighting problem is probably related to the fact that one can use a keyword using its full reference to the library that implements it, eg.:
SeleniumLibrary.Open Browser
Please, take a look at line 7 in the screenshot below.

In this case (full keyword library reference) the keyword highlighting is adequate.
To Reproduce Steps to reproduce the behavior:
- Create a keyword with the dot character in its name
- Use the previously created keyword in a test case
- Keyword in test case will be incorrectly highlighted
Expected behavior I would expect that a keyword with a dot character in its name to be highlighted as any other keyword in a test case.
Screenshots Already provided it in the bug description (better for contextualization).
Versions:
- OS: Ubuntu 20.04.4 LTS
- Robot Framework Version: 4.1.3
- Robot Framework Language Server Version: 0.41.0
- Client Version: VSCode 1.64.2
Logs I don’t think it is really needed for this specific case.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)

Top Related StackOverflow Question
Agreed, I guess that the analysis really needs to be semantic (analyzing imports) to do the proper coloring (right now it just checks for a
.in the keyword name).Marking as high priority.
I was really wondering why you turned silent 😉
So, I ended up implementing the last things related to highlighting for the next release (including the caching of the imports considering dependencies / keyword calls with variables) and provided a new pre-release for it (which I hope to release Monday if no blocker is found until then).