Skip to content

[BUG] RobotCode InteliJ plugin could not recognize source root as PYTHONPATH #430

Open
@shaoerkuai

Description

@shaoerkuai

Describe the bug
Current run configuration will not mark source root/content root but Python run configuration supports that.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Init a project with dictionary 'testcases' to store robot files.
  2. Prepare a 'library' dictionary to store my Python files and Mark this as a source root
  3. Check robot file editor
  4. All imports by 'Library' keywords warned as 'No module named 'xxx' found '

If possible add some example source code like:

***Settings***
Library common.geo.geotools

***Test Cases***
a simple test
    do something    # this should shown something

Desktop (please complete the following information):

  • RobotCode Version [latest]
  • OS: [Windows]
  • Python Version [3.11]
  • RobotFramework Version [4.1.3]

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