Bug Description:
When using Claude 4.0 Sonnet in Agent Mode, file formatting is frequently incorrect. This includes:
- Missing line breaks
- Incorrect or inconsistent indentation
- Structural formatting errors across various file types
How to Reproduce:
Use Agent Mode with Claude 4.0 Sonnet on supported files. The formatting issues seem to occur intermittently, particularly after multi-step edits.
Affected File Types:
.py
, .svelte
, .html
Environment:
- Operating System: Windows 11
- Cursor Version: 0.50.6
- Model: Claude 4.0 Sonnet