下载地址: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就可以使用了
插件设置:
使用方式: