You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
'Go to Definition' (or F12) for python (.py) AND robot (.robot) keywords does not work.
Either 'Go Definition' works for python (.py)
Either 'Go Definition' works for robot keywords (.robot)
To Reproduce
I've installed
Visual Studio Code version 1.32.1
Robot Framework Intellisense 2.5.0
Steps to reproduce the behavior:
Open .py file
Open .robot file
Set parameters in /home/user/.config/Code/User/settings.json
"rfLanguageServer.includePaths": [
"/*.robot",
"/*.py"
]
Click on 'Go to Definition' (or F12) for .py
Click on 'Go to Definition' (or F12) for .robot
Expected behavior
Step 4. 'Go to Definition' (or F12) for .py is OK
AND
Step 5. 'Go to Definition' (or F12) for .robot is OK
ISSUE current behavior
Either F12 works for .py but issue with .robot
or F12 works for .robot but issue with .py
Environment (please complete the following information):
Extension output:
Please include the extension output with debug logging turned on.
Add setting "rfLanguageServer.logLevel": "debug"
Select View -> Output -> Robot Framework Intellisense Server
Reproduce the issue
Additional context
3. In /home/user/.config/Code/User/settings.json i also put
"rfLanguageServer.includePaths": [
"/*.robot",
]
or
"rfLanguageServer.includePaths": [
"/*.py",
]
I have same issue.
Either F12 works for .py but issue with .robot
or F12 works for .robot but issue with .py
The text was updated successfully, but these errors were encountered:
Having same issue.
For any python class based keywords, not autocompleting or showing definition is not working
Guessing, since the location of the python file is in dist location, this extension is not scanning the PYTHONPATH location for the py file, which is imported by the ROBOT ?
I believe your configuration is incorrect. If you use pattern /*.py or /*.robot, it will only match files in your root directory (/). If you want to include all .py and .robot files in the workspace, you can use the **/*.robot pattern.
There is a limitation that the extension can only parse files (robot or python) that are in the current workspace. So if you have opened a directory /some/my/dir only files in /some/my/dir and its sub-directories can be parsed by the extension.
Hi,
So, if I want to use python seleniumLibrary installed locally, I need to import it on my vscode workspace? Is there a way to do that without install a python virtual env on my workspace (have a link from the workspace to my local python site-packages)?
Describe the bug
'Go to Definition' (or F12) for python (.py) AND robot (.robot) keywords does not work.
Either 'Go Definition' works for python (.py)
Either 'Go Definition' works for robot keywords (.robot)
To Reproduce
I've installed
Visual Studio Code version 1.32.1
Robot Framework Intellisense 2.5.0
Steps to reproduce the behavior:
"rfLanguageServer.includePaths": [
"/*.robot",
"/*.py"
]
Expected behavior
Step 4. 'Go to Definition' (or F12) for .py is OK
AND
Step 5. 'Go to Definition' (or F12) for .robot is OK
ISSUE current behavior
Either F12 works for .py but issue with .robot
or F12 works for .robot but issue with .py
Environment (please complete the following information):
Extension output:
Please include the extension output with debug logging turned on.
"rfLanguageServer.logLevel": "debug"
Additional context
3. In /home/user/.config/Code/User/settings.json i also put
"rfLanguageServer.includePaths": [
"/*.robot",
]
or
"rfLanguageServer.includePaths": [
"/*.py",
]
I have same issue.
Either F12 works for .py but issue with .robot
or F12 works for .robot but issue with .py
The text was updated successfully, but these errors were encountered: