Skip to content

[BUG] Pycharm plugin autocomplete offers first letter of each word Capitalized for embedded keywords #564

@jatalahd

Description

@jatalahd

Describe the bug
With latest RobotCode pyCharm plugin installed, and custom embedded Robot keywords implemented using @Keyword -notation, the autocomplete functionality does not respect the capitalization format of the keyword

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create custom keyword in dynamic python keyword library:

    @keyword("User ${username} writes password in login view")
    def user_writes_password_in_login(self, username: str):
    """
    """
  2. Open .robot file in pyCharm when robotcode plugin installed

  3. Start writing test case:
    When User ....

  4. Autocomplete offers keyword as "User username Writes Password In Login View"
    --> first letter of each word capitalized

If possible add some example source code like:

***Settings***
Library  MyCustomLibrary

***Test Cases***
a simple test
    When User ...

Expected behavior
Autocomplete should offer the keyword as it is defined in the custom keyword library using the @Keyword decorator

Screenshots/ Videos

Logs

Additional context

Desktop (please complete the following information):

  • PyCharm Version [2025.3.1]
  • RobotCode Version [2.2.0]
  • OS: [Linux]
  • Python Version [3.11.4]
  • RobotFramework Version [7.1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions