-
Notifications
You must be signed in to change notification settings - Fork 382
Trouble Shooting
Wu Bing edited this page Apr 29, 2015
·
7 revisions
it is just so easy ~
- Find and Click the menu in Xcode, path is:
Xcode -> Edit -> XAlign -> Setting - Type the character you love, press
enter, then check the XAlign Menu again. If it works, there'll be the shortcut shown after theAuto Align, or your shortcut conflicts with the Xcode defaults. You'd better change another one, or modify the defauls, which is in theXcode Prefrences -> Keybings.
快捷键冲突如何解决? 貌似与XVim冲突了,罪过~ :) 按照下面的步骤自己设一个吧~
-
直接修改插件配置文件
- 打开终端
open ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/XAlign.xcplugin/Contents/Resources/patterns.plist (勘误1)-
在这里修改
-
重新编译
在
/main/main/patterns.plist里,如上图修改。 然后cmd+b新的build会自动覆盖已安装的插件 -
key & mask
mask : [ cmd | ctrl | shift ]
key : any other character on keyboard, [a-z] is recommended.
(勘误1) open ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/XAlign.xcplugin/Contents/Resources/setting.plist
