APIs for creating nicely formatted projects
Open
Area: API
gathering-feedback
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
### Summary
I'd like to create projects (for file-based apps) with a nice format like:
```xml
Y
```
### Background and Motivation
Currently I'm using interpolated string literals for this, because I don't think there are good APIs for that. Not even XmlWriter can add blank lines and preserve the indentation (from my experiments). See https://github.com/dotnet/sdk/pull/50885#discussion_r2368413737.
### Proposed Feature
Support this via APIs? cc @baronfel
### Alternative Designs
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.