Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4 file complete path

If I have any file open in Xcode and I would like to know the complete path to the file, how do I do that in Xcode 4? In Xcode 3 I could hover over the file name and get a tooltip with the complete path. I could also right-click a file name at the very top and get a pop-up window with the complete path. This is all gone in Xcode 4.

The annoyance is that when using the Xcode 4 search, it doesn't even show the complete path of the file in the results?!

The only solution I have currently found is to open the save as dialog and get the path from there! That definitely can't be the solution. What am I missing?

like image 509
Tamer Avatar asked Sep 26 '11 12:09

Tamer


2 Answers

For files that are not part of the project you can use the File menu's Show in Finder option.

Update: Xcode 4.2 restored the ability to right-click or command-click on the file's name in the title bar to get a drop-down with the full path.

like image 56
Matt Stevens Avatar answered Nov 27 '22 06:11

Matt Stevens


Show the file inspector utility (normally at the right hand side of the main window on my setup , to do that click the rightmost button of the "View" buttons menu). Click on your file in the navigator and the inspector will refresh with the information. Full path is disclosed and there is a button to open a new Finder window with the enclosing folder.

like image 37
YvesLeBorg Avatar answered Nov 27 '22 04:11

YvesLeBorg