Files
hzdyjs/.cursor/settings.json
T
zlwu 249b1dfeb4 feat: 完善项目开发规范和测试文档体系
📝 主要改进:
• Cursor配置模块化:拆分为前端、后端、移动端、文档、API测试5个专门规范文件
• API文档重新组织:按业务模块拆分到docs/开发文档/API/目录下
• 新增维修分类功能完整测试方案和自动化测试脚本
• 后端热启动脚本完善,支持Linux/Windows双平台
• 强化文档同步更新规范,确保代码与文档一致性

🔧 技术改进:
• 优化Cursor AI工作流程和代码生成质量
• 完善API测试规范(AES+RSA双重加密登录方法)
• 提升开发效率和代码质量标准化程度

�� 测试覆盖:
• 维修分类管理功能端到端测试验证通过
• 包含页面加载、CRUD操作、搜索功能等核心测试用例

更新时间:2025-07-01
2025-07-01 17:53:05 +08:00

85 lines
2.5 KiB
JSON

{
// Cursor AI 专用设置
"cursor.ai.preview.enabled": false,
"cursor.ai.showPreviewInEditor": false,
"cursor.ai.autoPreview": false,
"cursor.ai.previewDelay": 2000,
// 代码生成设置
"cursor.ai.codeGeneration.showPreview": false,
"cursor.ai.suggestions.preview": false,
"cursor.ai.chat.floatingWindow": false,
"cursor.ai.chat.sidePanel": true,
// 🆕 自动接受AI建议设置
"cursor.ai.autoAccept.enabled": true,
"cursor.ai.autoAccept.delay": 1000,
"cursor.ai.suggestions.autoAccept": true,
"cursor.ai.inline.autoAccept": true,
"cursor.ai.tab.autoAccept": true,
"cursor.ai.codeGeneration.autoAccept": true,
"cursor.ai.edit.autoAccept": true,
// Tab补全自动接受
"cursor.tab.autoAccept": true,
"cursor.tab.acceptOnlyFullLine": false,
"cursor.tab.acceptPartialSuggestion": true,
// 禁用多余的AI提示
"cursor.ai.hover.enabled": false,
"cursor.ai.inline.enabled": true,
"cursor.ai.inline.preview": false,
// 优化编辑器性能
"cursor.performance.enablePreviewCache": false,
"cursor.performance.maxPreviewWindows": 1,
// 文件处理设置
"cursor.files.autoPreview": false,
"cursor.files.previewOnHover": false,
"cursor.files.openPreviewByDefault": false,
"cursor.files.enablePreview": false,
// UI 优化设置
"cursor.ui.showWelcomeScreen": false,
"cursor.ui.showTips": false,
"cursor.ui.compactMode": true,
// 禁用Vue文件预览弹窗
"cursor.vue.preview.enabled": false,
"cursor.vue.autoPreview": false,
"cursor.vue.showPreviewDialog": false,
// 禁用所有预览对话框
"cursor.preview.showDialogs": false,
"cursor.preview.autoShow": false,
"cursor.preview.popupEnabled": false,
// 编辑器设置
"editor.preview.enabled": false,
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.editor.showTabs": "multiple",
// 🆕 VSCode原生自动接受设置
"editor.acceptSuggestionOnCommitCharacter": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.tabCompletion": "on",
"editor.suggestSelection": "recentlyUsed",
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
// 禁用文件关联预览
"files.associations": {
"*.vue": "vue"
},
// 代码编辑时的预览控制
"cursor.ai.edit.showPreview": false,
"cursor.ai.edit.autoPreview": false,
"cursor.ai.generation.showPreview": false
}