Just as a point of clarification, I’m referring to the Show Assistant Editor 
button at the top-left of the window. I definitely know about the Counterparts 
popup, and yes it has all sorts of good stuff. But this doesn’t really help 
with my use case. I was hoping that I could get an equivalent ‘Show Related 
File’ and what I really mean is ‘Only show the related file and stop trying to 
show 26 different types of files that might be useful for someone, sometime, 
maybe, in these specific use cases but makes the 99% case a chore’. Having to 
click on Show Assistant Editor, then click on the Counterparts popup and select 
something else is still kind of a drag for my use case. I generally don’t care 
about all that stuff, as pretty much every time I just want to see the 
corresponding .m/.h.

Doug Hill
http://chartcube.com/ <http://chartcube.com/>


> On Jul 14, 2015, at 12:20 PM, Jens Alfke <[email protected]> wrote:
> 
> 
>> On Jul 14, 2015, at 11:56 AM, Scott Ribe <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> There's a popup menu up there from which you can select "counterparts". As 
>> long as you select files by clicking them in the files tree on the left, it 
>> will automatically open the counterpart in the assistant editor. But as soon 
>> as you do something else which results in breaking that pairing, it doesn't 
>> until you set it back.
> 
> And if you’ve overlooked that pop-up, Doug, you’re missing all the other cool 
> stuff the assistant can show. “Callers” is super useful — it’ll let you 
> browse all the methods/functions that call the method/function selected in 
> the main editor. Similarly, “Test Callers” shows all the unit tests that 
> invoke the selected method. “Assembly” can useful when optimizing. And so 
> forth; it’s worth experimenting with.
> 
> (You can also access a lot of these directly in the main editor via the funky 
> little “four squares” pop-up menu at its top left. In this case, choosing one 
> jumps the main editor to what you selected.)
> 
> Oh, and FYI, if you want to show a specific file in the assistant, 
> option-click it in the file navigator. I use this when I’m working on 
> something that affects two source files at once, like moving some 
> functionality from one class to another.
> 
> —Jens

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to