robotcodedev / robotcode

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

[BUG] Go to definition stopped working after laptop replacement #257

Open FortCWB opened 1 month ago

FortCWB commented 1 month ago

Describe the bug After doing a laptop replacement and copied and pasted the same configuration and extensions to this new one, keyword navigation for robot files stopped working. It keeps working on my old laptop, but not in the new one. Both are HP laptops, both have Windows 10 installed, both have the same extensions

Also tried to reinstall all Python extensions.

Worth to mention that the extension Robot Framework Language Server from Robocorp is working regarding "go to definition" feature, so in the meantime I'm using it rather than Robot Code.

Usually, I just click on the keyword I want and press F12.

Is there a way to debug that? I'd like to help with the debug if possible.

d-biehl commented 1 month ago

I need some more informations, like VSCode Version, Python Version, Robot Framework Version and so on.

Did you select the correct python interpreter in VSCode?

FortCWB commented 1 month ago

I need some more informations, like VSCode Version

Vs code version: 1.87.2

Python Version

Python version: 3.12.3

Robot Framework Version

Robot version: 7.0

and so on.

Did you select the correct python interpreter in VSCode?

3.12 is the only version installed.

d-biehl commented 1 month ago

Sorry for the late answer,

Does only ‘go to definition’ not work? What about everything else?

FortCWB commented 1 month ago

Colors OK. Documentation NOK. Autocomplete and IntelliSense NOK.

I'll try it out with different Python and Robot F. versions.