Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find all references without "peeking"?

I want to see all references in a bottom-docked window (similar to how to the "Problems" window appears). I am trying to find all references to a function so that I can then jump to each place I am using the function and make changes. The current "peek" feature makes this very inconvenient to do. For example:

First I find all references of getStartDate enter image description here

The inline "peek" window appears and shows me the reference in the current file, along with others. I click on another reference: enter image description here

The editor navigates to that file and splits the file in half in order to display... the file I am already editing. Please tell me there is a way to dock this window to the bottom of the screen. Or better yet, that there is a "full" find all references as opposed to a "peek" find all references.

like image 206
Patrick Michaelsen Avatar asked Nov 01 '17 17:11

Patrick Michaelsen


1 Answers

v1.22 changed how to go to references across files, see navigating to references across files . At least it doesn't do the editor splitting you describe - you can just cycle through the references going to each file in its already opened editor in turn.

You can DownArrow through the references, and then F4 or Shift-F4 to go that reference in another file.

like image 51
Mark Avatar answered Sep 28 '22 09:09

Mark