Skip to content
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

Only show project templates by default with "dotnet new --list" #3108

Closed
Tracked by #4887
bekir-ozturk opened this issue Apr 28, 2021 · 2 comments
Closed
Tracked by #4887

Only show project templates by default with "dotnet new --list" #3108

bekir-ozturk opened this issue Apr 28, 2021 · 2 comments
Labels
triaged The issue was evaluated by the triage team, placed on correct area, next action defined.
Milestone

Comments

@bekir-ozturk
Copy link
Contributor

bekir-ozturk commented Apr 28, 2021

Extracting from work item: dotnet/sdk#10587 (comment)

@davidfowl wrote on Feb 2, 2020 (irrelevant sections are removed):

A few observations:

  • It's not clear which templates are item vs project templates.

Some suggestions:

  • Show project templates by default and have an option to show all templates (or to filter by a specific template type)
@bekir-ozturk bekir-ozturk added need-pm-discussion Need agreement from PM that the issue aligns to targeted stories for any of the next 2 releases triaged The issue was evaluated by the triage team, placed on correct area, next action defined. labels Apr 28, 2021
@baronfel
Copy link
Member

This is made slightly more complex because 'global' items like editorconfig, gitignore, etc. are all currently item templates. Once constraints are in, we will start doing this by default, because items will begin to declare their requirements in terms of constraints, and items that don't satisfy their constraints simply won't be listed.

@baronfel baronfel removed the need-pm-discussion Need agreement from PM that the issue aligns to targeted stories for any of the next 2 releases label Apr 18, 2022
@baronfel baronfel added this to the .NET 7.0 milestone Apr 18, 2022
@vlada-shubina vlada-shubina mentioned this issue Jun 23, 2022
26 tasks
@vlada-shubina vlada-shubina modified the milestones: .NET 7.0, Backlog Jul 14, 2022
@vlada-shubina
Copy link
Member

Closing. The templates shown in the list can be restricted by constraints instead. Also comment above makes it clear that showing only project templates is not an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged The issue was evaluated by the triage team, placed on correct area, next action defined.
Projects
None yet
Development

No branches or pull requests

3 participants