Xcode插件
1、 Alcatraz 插件管理
https://github.com/mneorr/Alcatraz
http://alcatraz.io/
- Install
curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh
- Uninstall
Delete the plugin:
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
Remove all cached data:
rm -rf ~/Library/Application\ Support/Alcatraz
2、 VVDocumenter 规范注释生成器
///
添加文档注释
https://github.com/onevcat/VVDocumenter-Xcode
3、Lin 本地化字符串
https://github.com/questbeat/Lin
4、XAlign 对齐常规代码
https://github.com/qfish/XAlign
Shift
+ Command
+ X
Align by equals sign(=对齐)
Align by define group(@对齐)
Align by property group(property对齐)
5、SCXcodeMiniMap 右边显示代码迷你地图
https://github.com/stefanceriu/SCXcodeMiniMap
6、FuzzyAutocomplete 代码补全支持模糊查询
https://github.com/FuzzyAutocomplete/FuzzyAutocompletePlugin
7、KSImageNamed 用图片时自动显示图片缩略图
https://github.com/ksuther/KSImageNamed-Xcode
8、HOStringSense 可以在弹出框写NSString,所见及所得
https://github.com/holtwick/HOStringSense-for-Xcode
9、GitDiff 简单直观的标记本次commit修改的部位
https://github.com/johnno1962/GitDiff
10、BBUDebuggerTuckAway 敲代码时debug视图自动隐藏
https://github.com/neonichu/BBUDebuggerTuckAway
11、Backlight-for-XCode 高亮显示正在编辑的行
https://github.com/limejelly/Backlight-for-XCode
12、CocoaPods pod相关的操作可以在xcode菜单进行
https://github.com/kattrali/cocoapods-xcode-plugin
13、OMColorSense 输入颜色时有一个色板给你选
https://github.com/omz/ColorSense-for-Xcode
14、SCXcodeSwitchExpander switch枚举的时候会自动生成代码
https://github.com/stefanceriu/SCXcodeSwitchExpander
15、DerivedData Exterminator 一键删除Derived Data
https://github.com/kattrali/deriveddata-exterminator
16、DXXcodeConsoleUnicodePlugin debug栏打印时自动把/ueo6转化成汉字
https://github.com/dhcdht/DXXcodeConsoleUnicodePlugin
17、XToDo 快捷键标记,和统一查看
https://github.com/trawor/XToDo
View - Snippets
查看标记的列表 ctrl
+t
TODO control
+ shift
+ T
FIXME control
+ shift
+ X
!!! control
+ shift
+ 1
??? control
+ shift
+ Q
18、Auto-Importer 快速导入头文件
https://github.com/citrusbyte/Auto-Importer-for-Xcode
command
+ ctrl
+ H
19、AMMethod2Implement
可以自动的将.h或者.m .mm里边需要写入的方法自动填充进来。可以选择要导入的方法,然后按 Ctrl+A 或者 Edit > AMMethod2Implement > Implement Method.就会自动填充方法.也可以自行设置快捷键。
- Support extern NSString * const implement.
Support multiline method and const string implement.
Support categories.
Support declare method.
Support @select(method:) implement.
Support selector with none parameter.
Support changing the keyboard shortcut.
Support parameterless method invocation(New).
Support get method for property if get method not exist(New).
20、HighlightSelectedString 高亮显示所有与选中字符串相同的字符串
https://github.com/keepyounger/HighlightSelectedString
21、ZLGotoSandbox 快速访问沙盒
https://github.com/MakeZL/ZLGotoSandboxPlugin
Shift
+ Command
+ w
File
- Go to Sandbox
22、XcodeBoost 检查和修改Object-c代码
键盘 - 快捷键 - 应用快捷键 - Xcode
Cut Lines shift
+ command
+ X
Copy Lines shift
+ command
+ C
Paste Lines shift
+ command
+ V
Paste Lines Without Reindent shift
+ option
+ command
+ V
Duplicate Lines shift
+ command
+ D
Delete Lines shift
+ command
+ L
Select Methods and Functions shift
+ option
+ command
+ M
Select Method and Function Signatures shift
+ command
+ M
Duplicate Methods and Functions shift
+ option
+ command
+ D
Copy Method and Function Declarations shift
+ option
+ command
+ C
Highlight Occurences of Symbol shift
+ fn
+ command
+ F11
Highlight Occurences of String shift
+ fn
+ command
+ F12
Highlight Regex Matches shift
+ option
+ fn
+ command
+ F11
Remove Most Recently Added Highlight shift
+ fn
+ command
+ F10
Remove All Highlighting shift
+ fn
+ command
+ F9
23、ClangFormat 格式化代码
https://github.com/travisjeffery/ClangFormat-Xcode
键盘 - 快捷键 - 应用快捷键 - Xcode
Format File in Focus control
+ I
24、JKBlockCommenter 注释代码
command
+ shift
+ /
选中一段代码,按下⌘``⌥``/
就可把这段代码包含在/**/之间
25、Localization
option
+ shift
+ D
当你在编辑字符串的时候,只需要按下option+shift+d,就可以将@“Any String”转换成NSLocalizedString(@"Any String", nil)。
command ⌘
shift ⌥
option