feat: 完善项目开发规范和测试文档体系
📝 主要改进: • Cursor配置模块化:拆分为前端、后端、移动端、文档、API测试5个专门规范文件 • API文档重新组织:按业务模块拆分到docs/开发文档/API/目录下 • 新增维修分类功能完整测试方案和自动化测试脚本 • 后端热启动脚本完善,支持Linux/Windows双平台 • 强化文档同步更新规范,确保代码与文档一致性 🔧 技术改进: • 优化Cursor AI工作流程和代码生成质量 • 完善API测试规范(AES+RSA双重加密登录方法) • 提升开发效率和代码质量标准化程度 �� 测试覆盖: • 维修分类管理功能端到端测试验证通过 • 包含页面加载、CRUD操作、搜索功能等核心测试用例 更新时间:2025-07-01
This commit is contained in:
1 parent
7a5b9d1bea
commit
249b1dfeb4
44 files changed
+14027
-2852
No files matched your search
@@ -11,6 +11,20 @@
|
||||
"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,
|
||||
@@ -47,6 +61,17 @@
|
||||
"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"
|
||||
|
||||
Reference in new issue
Block a user