When I ever click to go to a definition in vscode I just want to go there, I do not want the overlay.
Can I disable it?
Go to Definition# If a language supports it, you can go to the definition of a symbol by pressing F12. Tip: You can jump to the definition with Ctrl+Click or open the definition to the side with Ctrl+Alt+Click.
To switch between views, press Ctrl+Shift+V in the editor. You can view the preview side-by-side (Ctrl+K V) with the file you are editing and see changes reflected in real-time as you edit.
This happens when multiple definitions were found, modify settings.json
"editor.gotoLocation.multipleDefinitions": "goto"
So I was looking for the same thing and since I found this post and it wasn't answered yet, I thought I could do it.
vscode won't peek preview definitions anymore after you add this to your JSON user settings file:
"editor.gotoLocation.multiple": "goto"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With