xcode 如何一次扩展 plist 的所有(或选定的)节点?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4410924/
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
How to expand all (or descendants of selected) node of a plist at once?
提问by Eonil
Is there a feature which expands all descendant nodes of currently selected node at onceon Xcode's property list editor?
是否有一项功能可以在 Xcode 的属性列表编辑器上一次扩展当前选定节点的所有后代节点?
采纳答案by Mike Bretz
Excerpt from the xcode 3.1 update: http://lists.apple.com/archives/xcode-users/2008/Jul/msg00273.html
摘自 xcode 3.1 更新:http: //lists.apple.com/archives/xcode-users/2008/Jul/msg00273.html
I can not try it right now with my phone but i guess this is still working.
我现在不能用我的手机尝试它,但我想这仍然有效。
Selecting a Property List file in the Groups and Files or Detail view now opens the file in a tabular outline instead of text form, regardless of whether the property list is in old-style text, XML, or binary format. You can expand and collapse the arrays and dictionaries in the property list as in any outlining tool, and edit the keys and values. Option-click the disclosure arrows to Expand All or Collapse All.
现在,在“组和文件”或“详细信息”视图中选择属性列表文件将以表格轮廓而不是文本形式打开文件,无论属性列表是旧式文本、XML 还是二进制格式。您可以像在任何大纲工具中一样展开和折叠属性列表中的数组和字典,并编辑键和值。按住 Option 键单击显示箭头以展开全部或全部折叠。
回答by BigSauce
Select a node and press Option + Right Arrow. Collapsing is Option + Left Arrow.
选择一个节点,然后按 Option + 向右箭头。折叠是 Option + 向左箭头。
See https://superuser.com/questions/76509/expanding-to-all-in-xcode-projects-groupsfor corroboration on this answer.
请参阅https://superuser.com/questions/76509/expanding-to-all-in-xcode-projects-groups以确认此答案。