I'm using VS Code with a .svelte file.
When I ctrl-click it shows me the definition in a panel below the line.
Same think happens if I right click and choose go to definition
or peek -> peek definition
, which is a bit odd.
I'd like ctrl-click to open a new tab with the definition (that is what happens if I right click and select go to implementation)
btw, I think my go to definition
is not working so well, as it's just doing the same as peek.
There seems to be a new setting editor.gotoLocation.multipleDefinitions
which, if set to peek
(as is the default) will open a peek even if the definition is unique. This may be a bug but setting it to goto
solves it for me.
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