iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
xatest
V2EX  ›  iDev

Xcode中有没有格式化(自动缩进)多行代码的快捷键?

  •  
  •   xatest ·
    aoxu · May 7, 2012 · 18237 views
    This topic created in 5158 days ago, the information mentioned may be changed or developed.
    类似于vim中按=键indent的功能。
    5 replies    2017-04-23 12:26:40 +08:00
    MosquitoLiu
        1
    MosquitoLiu  
       May 7, 2012
    试试control+i
    delphiqin
        2
    delphiqin  
       May 7, 2012
    你试试 control+i ?
    xatest
        3
    xatest  
    OP
       May 7, 2012
    @delphiqin @MosquitoLiu 有效,感谢!
    BenX
        4
    BenX  
       May 8, 2012
    只有Re-Indent(Ctrl+I)这一个调整缩进的功能,显然不够用。可以看看Uncrustify这个东东
    ywUXm9U86a62N7rN
        5
    ywUXm9U86a62N7rN  
       Apr 23, 2017
    @MosquitoLiu 缩进游泳,但不是格式化代码
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   755 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 21:24 · PVG 05:24 · LAX 14:24 · JFK 17:24
    ♥ Do have faith in what you're doing.