Use the keyboard key ["g","d"] to highlight the words that are pointing at the current mouse, and use the keypad n to search down, shift + n to search up.
@cnlg You should be using * to do that. Try rebinding gd to *.
Thank!
@cnlg gd is a lot better in vscode than it is in vim. gd in vim should be go to definition, but it doesn't work well.
@Chillee understood,VScode how to use shortcut keys to switch between status bars?
would be great if gd popped up the find all reference S+F12 when the cursor is on the definition
How to custom ["g", "d"] plz? I want to use it with 'goto-symbol-stack'. After some actions I can't go back to the original position with the default go to definition.
"vim.otherModesKeyBindingsNonRecursive": [
{
"before": ["g", "d"],
"after": [],
"commands": [
{
"command": "extension.goto-symbol-stack.goToSymbolDeclaration",
"args": []
}
]
},
{
"before":["<C-t>"],
"after":[],
"commands": [
{
"command": "extension.goto-symbol-stack.goPrevOnStack",
"args": []
}
]
}
]
Most helpful comment
@cnlg You should be using
*to do that. Try rebindinggdto*.