Using Go to definition (F12) and cmd click to jump to definition #2955
-
Is there any way we can click at the function/variable and jump to the file or line where it is declared? In vscode desktop, we can use F12 and cmd-click to examine any variable or function. Is there anything equivalent in code-server? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
ctrl/cmd+click and ctrl/cmd+f12 are supposed to work but I tested on 3.9.1 and they seem sporadic; it worked for me in a Typescript file but not in a Python file. They seem to work everywhere in latest main though, so this might be fixed in the next release. |
Beta Was this translation helpful? Give feedback.
-
@code-asher I still have the same issue in version 4.9.1. The Go to Definition is not even an option when right clicking a function. Is there perhaps a setting that needs to be enabled? |
Beta Was this translation helpful? Give feedback.
ctrl/cmd+click and ctrl/cmd+f12 are supposed to work but I tested on 3.9.1 and they seem sporadic; it worked for me in a Typescript file but not in a Python file.
They seem to work everywhere in latest main though, so this might be fixed in the next release.