robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

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

Open shaoerkuai opened this issue 10 months ago • 5 comments

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 directory 'testcases' to store robot files.
  2. Prepare a 'library' directory 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]

shaoerkuai avatar Apr 18 '25 03:04 shaoerkuai