VVDocumenter规范注释生成器
下載地址:https://github.com/onevcat/VVDocumenter-Xcode
PS:Xcode 8.0 默認支持了,但是是關閉狀態,需要在終端輸入如下命令開啟,然后重啟 Xcode 就可以了,快捷鍵為「option+command+/」:
sudo /usr/libexec/xpccachectl
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就可以使用了
插件設置:
使用方式:
總結
以上是生活随笔為你收集整理的VVDocumenter规范注释生成器的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 威朗电池传感器坏了会怎么样吗?
- 下一篇: Javascript闭包(Closure