Predictive Code Completion Model
的 Components,该模型主要用于代码预测与补齐。Predictive Code Completion
(预测性代码补齐),但要求 Apple Silicon + 16GB 及以上内存 + macOS 15 及以上。参考 GitHub 的开源项目XcodeLLMEligible
。
使用 XcodeLLMEligible 项目提供的方案二 override 文件
,即打开终端执行以下命令,然后等待完成。
curl -L https://raw.githubusercontent.com/Kyle-Ye/XcodeLLMEligible/release/0.2/scripts/override.sh | bash -s -- install override xcodellm
打开 Xcode 菜单 —> Xcode —> Settings... —> Text Editing —> Editing —> 勾选 Predictive code completion。
下载Predictive Code Completion Model
,大小为 2.18 GB。
重启 Xcode。
Model.gif
UIKit.gif
SwiftUI.gif
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有