robotcodedev / robotcode

RobotFramework support for Visual Studio Code
https://robotcode.io
Apache License 2.0
168 stars 13 forks source link

[QUESTION]Impossible to import Library with some arguments #189

Closed xytnba closed 6 months ago

xytnba commented 7 months ago

Please describe. Hello,When I use, I find that Library can not use args ,like this image

Desktop (please complete the following information):

Please help me find where I should improve, thx!

xytnba commented 7 months ago

this error make me confuse,I can not jumps to the library pythonfiles' function

d-biehl commented 7 months ago

where are the variables ${qcc_url} and ${appcenter_url} defined? it seems that these variables cannot be found. There are some Variable Import in line 5, 6 and 7, maybe there is an error in one of these files? You have to define the variables somewhere?

does this work sometimes or is this a new behavior?

xytnba commented 7 months ago

yes,It defined at the line 5. I run robotcode successfully. I dont konw why the library cannot know the variables?
See the line 8, there is no args to input,It has no error. when I want to use some args ,It returned these error.

xytnba commented 7 months ago

And I use common strings,It can use,Not return error any more,but I want use variables to make my many environment to use this args

d-biehl commented 7 months ago

If you move the mouse over the variable ${qcc_url}, what does the tooltip say, does it contain a value? Something like ${qcc_url} = '...'?

Why does the error message appear after each line? What is the setting or have you installed any extension?

d-biehl commented 6 months ago

any news about this question? did you solve it?

d-biehl commented 6 months ago

closed due to inactivity