一个基于AI的智能文本纠错VS Code扩展,支持多种语言模型API,提供全面的文本纠错和差异对比功能。| An AI-powered intelligent text correction VS Code extension that supports multiple language model APIs, providing comprehensive text correction and diff comparison features.
全文纠错 | Full Text Correction:一键对整个文档进行智能纠错 | One-click intelligent correction for entire documents
选中纠错 | Selected Text Correction:支持只对选中的文本进行纠错 | Support correction of selected text only
段落级处理 | Paragraph-level Processing:按段落分别处理,提高准确性和效率 | Process text paragraph by paragraph for better accuracy and efficiency
可视化差异 | Visual Diff:高亮显示原文与纠错结果的差异 | Highlight differences between original text and correction results
逐项审核 | Item-by-item Review:支持逐个段落接受或拒绝修改建议 | Accept or reject correction suggestions paragraph by paragraph
🎛️ 操作控制 | Operation Control
批量操作 | Batch Operations:一键接受或拒绝所有修改 | Accept or reject all changes with one click
快捷导航 | Quick Navigation:通过状态栏快速跳转到上一个/下一个修改位置 | Quick jump to previous/next change locations via status bar
智能取消 | Smart Cancel:纠错过程中可随时取消操作 | Cancel correction operations at any time during the process
后台处理 | Background Processing:支持后台纠错,不影响其他工作 | Support background correction without affecting other work
💰 成本监控 | Cost Monitoring
实时费用统计 | Real-time Cost Tracking:显示Token使用量和实际花费 | Display token usage and actual spending
详细费用明细 | Detailed Cost Breakdown:分别显示输入和输出Token的费用 | Show separate costs for input and output tokens
多货币支持 | Multi-currency Support:支持美元和人民币显示 | Support USD and CNY currency display
⏱️ 时间统计 | Time Statistics
操作耗时追踪 | Operation Time Tracking:记录每次纠错操作的耗时 | Track time taken for each correction operation
处理速度分析 | Processing Speed Analysis:显示平均处理速度(字符/秒) | Show average processing speed (characters/second)
预估剩余时间 | Estimated Time Remaining:实时预估完成时间 | Real-time estimation of completion time
🔌 技术集成 | Technical Integration
OpenAI格式API支持 | OpenAI Format API Support:兼容OpenAI格式的API接口 | Compatible with OpenAI format API interfaces
状态栏集成 | Status Bar Integration:在状态栏显示纠错进度和操作按钮 | Display correction progress and action buttons in the status bar
CodeLens支持 | CodeLens Support:在编辑器中直接显示接受/拒绝按钮 | Show accept/reject buttons directly in the editor
多文档支持 | Multi-document Support:每个文档独立的纠错状态,支持同时处理多个文件 | Independent correction state for each document, support simultaneous processing of multiple files
🛠️ 扩展设置 | Extension Settings
必需配置 | Required Configuration
textCorrection.apiKey: API密钥(必填)| API key (required)