VVDocumenter规范注释生成器

本文介绍如何安装和使用Xcode文档插件VVDocumenter-Xcode,包括通过Alcatraz安装、手动编译安装的方法及插件设置步骤。该插件支持自定义触发文档插入的文本,并提供选项如使用空格代替制表符、更改生成文档的格式等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下载地址:https://github.com/onevcat/VVDocumenter-Xcode

PS:Xcode 8.0 默认支持了,但是是关闭状态,需要在终端输入如下命令开启,然后重启 Xcode 就可以了,快捷键为「option+command+/」:

1 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就可以使用了

 

插件设置:

 

使用方式:

 

 

转载于:https://www.cnblogs.com/huangjianwu/p/4561887.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值