V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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 · 18140 views
    This topic created in 5103 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   ·   5620 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 09:12 · PVG 17:12 · LAX 02:12 · JFK 05:12
    ♥ Do have faith in what you're doing.