开发者

Xcode 4 file complete path

开发者 https://www.devze.com 2023-04-07 21:23 出处:网络
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 pa

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开发者_JAVA百科 dialog and get the path from there! That definitely can't be the solution. What am I missing?


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号