下载地址:https://github.com/onevcat/VVDocumenter-Xcode
How to install and use?
The best way of installing is by Alcatraz. Install Alcatraz followed by the instruction, restart your Xcode and press ??9
. You can find VVDocumenter-Xcode
in the list and click the icon on left to install.
If you do not like the Alcatraz way, you can also clone the repo. Then build the VVDocumenter-Xcode
target in the Xcode project and the plug-in will automatically be installed in ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
. Relaunch Xcode and type in ///
above any code you want to write a document to.
If you want to use other text beside of ///
to trigger the document insertion, you can find a setting panel by clicking VVDocument
in the Window menu of Xcode. You can also find some other useful options there, including setting using spaces instead of tab in the panel or changing the format of generated documentation.
下载开源工程在Xcode重新编译运行会自动安装此插件,重启Xcode就可以使用了
插件设置:
使用方式: