-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Epic] Common template features for .NET templates (sln, editorconfig) #3208
Comments
Can you share a bit more details what are you expecting here? Do you expect |
Both but my issue is with regards to |
@mikadumont @jmarolf and I chatted on this. It would be a nightmare to keep all the .editorconfig's consistent if we put them into every template, and then it would be a bad experience for users to wind up with multiple editor config's (per project) instead of one (per repo). That said, we love .editorconfig and want it in every repo :-) Thus, a new more complex feature! A rough outline:
|
This sounds like another scenario where something like |
The details of the design can be found here (internal). |
Audience: template authors
Background
At the moment a lot of .NET project templates have to manually create similar configuration related to:
Moreover more common features will be nice to have:
editorconfig
(original intention of the issue)Implementing all of above is possible but will result in extra ~300 lines configuration in
template.json
and corresponding testing and maintenance effort. The configuration will be very similar to the same in all the templates.Technical suggestion
We are considering to create a specific generator for .NET project templates which implicitly supports the features above.
All the author needs to do is to opt-in to desired behaviors via corresponding feature flags.
Justification
original description below
Copying Kathleen's comments from below:
The part about -sln is probably not relevant. Therefore, it should be considered out of the scope of this issue.
The text was updated successfully, but these errors were encountered: