codex struggles with .NET codebases - styling, formatting, whitespace
Resolved 💬 1 comment Opened Sep 23, 2025 by bestlux Closed Nov 11, 2025
What version of Codex is running?
0.39.0
Which model were you using?
gpt-5-codex
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
Have codex work on any .net framework or .net 6+ codebase, observe it consistently changes line endings, adds extra whitespace in various places (especially extra newlines at the end of files), or miss formats newly added methods/code segments (improper indentation).
What is the expected behavior?
Following the style conventions of the current file/project appropriately, keeping the line endings the same, no weird whitespace issues.
What do you see instead?
Wrongly formatted code.
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗