robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

[BUG] Go to definition stopped working after laptop replacement

Open FortCWB opened this issue 1 year ago • 4 comments

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.

FortCWB avatar May 23 '24 12:05 FortCWB

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?

d-biehl avatar May 24 '24 06:05 d-biehl

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.

FortCWB avatar May 24 '24 10:05 FortCWB

Sorry for the late answer,

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

d-biehl avatar May 28 '24 06:05 d-biehl

Colors OK. Documentation NOK. Autocomplete and IntelliSense NOK.

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

FortCWB avatar Jun 03 '24 16:06 FortCWB

@FortCWB any news abozt this issue? can I close it?

d-biehl avatar Oct 02 '24 21:10 d-biehl

Just updated do v0.92.0 and it's working now!! You probably got it fixed somehow.

The interesting part is that it wasn't working right after the update, then I went there to take some screenshots of Robocorp extension working and yours not working to share them here. After disabling one and enabling the other, I noticed the colors suddenly changed to something new, then checked go to definition and it was working!!

That's awesome. RobotCode is the best extension, Daniel. I love it!

FortCWB avatar Oct 03 '24 14:10 FortCWB

thanks, then I can close this issue ...

d-biehl avatar Oct 03 '24 15:10 d-biehl

Just updated do v0.92.0 and it's working now!! You probably got it fixed somehow.

The interesting part is that it wasn't working right after the update, then I went there to take some screenshots of Robocorp extension working and yours not working to share them here. After disabling one and enabling the other, I noticed the colors suddenly changed to something new, then checked go to definition and it was working!!

That's awesome. RobotCode is the best extension, Daniel. I love it!

One additional note: On my current laptop, it is working well only when enabling also Robot Framework Language Server from Robocorp. So, yes, both extensions enabled made the magic.

FortCWB avatar Nov 13 '24 17:11 FortCWB