How VSCode Goes to a Source

Asked 2 years ago, Updated 2 years ago, 69 views

This is a question about shortcuts in VSCode.

I used it to describe Ruby's code, and I was able to move the method from F12, but I wanted to move it by listing the reference sources from the definition source, but I didn't know how to do it.

Please let me know.Thank you for your cooperation.

ruby-on-rails ruby vscode

2022-09-30 19:24

1 Answers

"After definition, right click → ""peak"" → ""Show reference here"" to view/move the reference source."
The shortcut key was Alt+F12 in your environment.

If the menu does not appear, the appropriate Language Server may not be installed.
Try Solargraph and so on.


2022-09-30 19:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.