背景

        公司了解员工使用AI编码的情况,又没有统一个管理工具,只能通过自证的方式了解,下面给出一种统计方式,仅供参考。

操作

idea日志路径

  • 参考:/Users/lizz/Library/Logs/JetBrains/IntelliJIdea2024.3/idea.log
  • 也可以从idea中直接打开

通义灵码

1.智能补全

  • 使用:com.alibabacloud.intellij.cosy.completion.action.CosyApplyInlayAction - do apply inline completion
  • 未使用跳过:com.alibabacloud.intellij.cosy.completion.trigger.TriggerExecutor - trigger check passed
  • 回退:execute action:EditorBackSpace

2.行间会话

  • handleDocumentChange: changeLine=46, addedLines=4
    • 从第46行开始,增加了4行

github-copilot

代码生成:[fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 2361.0329370498657 ms
2025-03-13 15:13:26,779 [ 207410]   INFO - #copilot - [streamChoices] solution 0 returned. finish reason: [stop]
2025-03-13 15:13:26,779 [ 207410]   INFO - #copilot - [streamChoices] request done: headerRequestId: [92dbe87c-1c99-41fa-81ac-3fee094292ab] model deployment ID: [d104-20250303073453]

企业版有统计,需要开发一个个人版插件

Logo

一站式 AI 云服务平台

更多推荐