xcode 是否有用于在 Project Navigator 中定位当前文件的键盘快捷键?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5801188/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there a keyboard shortcut for locating the current file in Project Navigator?
提问by Niels R.
Is there a way to easily get the current file in the Editor pane selected in the Project Navigator without the need to expand all folders (if the file is buried deep down somewhere)?
有没有办法轻松获取在项目导航器中选择的编辑器窗格中的当前文件,而无需展开所有文件夹(如果文件深埋在某处)?
I know you can see the location in your project using the "bread crumb" on top op the Editor pane, but I like a functionality similar to the one in Visual Studio...
我知道您可以使用编辑器窗格顶部的“面包屑”查看项目中的位置,但我喜欢类似于 Visual Studio 中的功能...
回答by Jano
Right click and choose Reveal in Project Navigator
or press ?+ ?+ J
右键单击并选择Reveal in Project Navigator
或按?+ ?+J
See Xcode 4 Keyboard Shortcutsfor more, or better yet, use KeyCue.
有关更多信息,请参阅Xcode 4 键盘快捷键,或者使用KeyCue更好。