HOStringSense大段字符串检测器

下载地址:https://github.com/holtwick/HOStringSense-for-Xcode

 

修改HOStringSense.xcodeproj工程里的HOStringHelper.m文件的内容,实现快捷键功能(control+S)来Show Strings Popover:

1 NSMenuItem *item =
2     [[NSMenuItem alloc] initWithTitle:@"Show Strings Popover"
3                                action:@selector(showPopover:)
4                         keyEquivalent:@"s"]; // modified by Kenmu
5 [item setKeyEquivalentModifierMask:NSControlKeyMask]; // created by Kenmu, in order to use shortcut key to access it.
6     
7 [item setTarget:self];
8 [[editMenuItem submenu] addItem:item];

 

跟VVDocumenter规范注释生成器的安装方式一样:

下载开源工程在Xcode重新编译运行会自动安装此插件,重启Xcode就可以使用了

 

插件设置:

 

使用方式:

 

posted @ 2015-06-08 22:02  KenmuHuang  阅读(806)  评论(2编辑  收藏  举报
如果您看完本篇博文,觉得对您有所收获,请点击右下角的 [推荐]
如果您想转载,请注明出处(原创内容,请尊重个人劳动成果)
如果您有任何意见或建议,欢迎留言
感谢您的阅读,敬请关注我的后续博客文章