View source code #199
-
Pardon me if I simply missed it, but is there a simple way to view the source code for a class from Nvim? When I click the "Source" link in the docs, I receive the error "Message 'implementationClass' not understood", and regardless it would be handy to navigate to the source from Nvim with a key command. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Are you using the HelpBrowser (GUI) or the built-in help inside nvim? Viewing the definition of a keyword is otherwise a built-in feature of nvim once you have generated a |
Beta Was this translation helpful? Give feedback.
Are you using the HelpBrowser (GUI) or the built-in help inside nvim?
Viewing the definition of a keyword is otherwise a built-in feature of nvim once you have generated a
tags
file. Starting scnvim and running the command:SCNvimGenerateAssets
will do this for you. After this you can jump to the implementation for the word under the cursor withC-]
and then useC-o
to jump back to where you were. Also take a look atgC-]
if there are multiple definitions of the keyword (often the case with methods). Also see:h CTRL-]
for a detailed explanation.