27 lines
845 B
Markdown
27 lines
845 B
Markdown
Always respond in Chinese-simplified
|
|
|
|
有任何拿不定主意、不确定的地方、或者某些细节都需要使用AskUserQuestion询问我
|
|
|
|
# CRITICAL: File Editing on Windows
|
|
|
|
## ⚠️ MANDATORY: Always Use Backslashes on Windows for File Paths
|
|
|
|
**When using Edit or MultiEdit tools on Windows, you MUST use backslashes (`\`) in file paths, NOT forward slashes (`/`).**
|
|
**When using Edit or MultiEdit tools on Windows, you MUST use absolute paths, NOT relative paths.**
|
|
|
|
### ❌ WRONG - Will cause errors:
|
|
|
|
```
|
|
Edit(file_path: "D:/repos/project/file.tsx", ...)
|
|
Edit(file_path: "file.tsx", ...)
|
|
MultiEdit(file_path: "D:/repos/project/file.tsx", ...)
|
|
MultiEdit(file_path: "file.tsx", ...)
|
|
```
|
|
|
|
### ✅ CORRECT - Always works:
|
|
|
|
```
|
|
Edit(file_path: "D:\repos\project\file.tsx", ...)
|
|
MultiEdit(file_path: "D:\repos\project\file.tsx", ...)
|
|
```
|