Im currently getting an error message for multiple keywords matching for internal resource imports, example:
Common.robot
*** Keywords ***
print something log to console message
Library1.robot
*** Settings ***
Resource ${CURDIR}/../common.robot
Library2.robot
*** Settings ***
Resource ${CURDIR}/../common.robot
TestCase.robot
*** Settings ***
Resource ${CURDIR}/../Library1.robot
Resource ${CURDIR}/../Library2.robot
*** Test Cases ***
Test case 1
print something
â this is where the error is shown
In this case âprint somethingâ will show an error saying multiple keywords matching even tho its only one keyword but internally called within the imports.
When executing RF is able to resolve and executes normally without issue but the error is always present in VScode.
Is there a way to fix this so I dont have to see the error without adding exceptions to lint because I wanna see any real multiple keywords exceptions
NOTE: if I use standard path notation like ../Library1.robot
the error doesnt appear anymore, however since we want to execute from different places we are using ${CURDIR} so the library imports are more stable.
Currently using robotframework 6.1.1
IDE: vs code