Using Go to definition (F12) and cmd click to jump to definition #2955
Answered
by
code-asher
MacKlinkachorn
asked this question in
Q&A
|
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! |
Answered by
code-asher
Mar 25, 2021
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. |
1 reply
Answer selected by
jsjoeio
|
@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? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


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.