In a JavaScript project with multiple js files in subfolders, “Goto Definition” doesn’t list the definitions for me, but it lists unimportant occurrences of the function.
“Goto Symbol in Project” works really well on the other hand. It finds all definitions perfectly. The problem is that this needs a string as an input, so I need to
-
select word
-
copy
-
open “Goto Symbol in Project”
-
paste
-
Is there a way to make “Goto Definition” work like “Goto Symbol in Project”?
-
If not, is there a plugin or a macro for the task of select - copy - goto symbol - paste?