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

Add csharp_new_line_before_type_constraint style formatting rule #49036

Open
vsfeedback opened this issue Oct 29, 2020 · 0 comments
Open

Add csharp_new_line_before_type_constraint style formatting rule #49036

vsfeedback opened this issue Oct 29, 2020 · 0 comments
Labels
Area-IDE Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Feature Request IDE-Formatter Code formatter and/or smart indent Need Design Review The end user experience design needs to be reviewed and approved.
Milestone

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


I would like to have type constrains formatted on a new line:

public void SetValue<TValue>(TValue value) where TValue : class

should become:

public void SetValue<TValue>(TValue value) 
    where TValue : class

I checked both the Visual Studio UI and Code style formatting rules - .NET | Microsoft Docs, but could not find it anywhere. It would be great if this could be added.


Original Comments

Feedback Bot on 10/12/2020, 11:54 PM:

Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 29, 2020
@jinujoseph jinujoseph added Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Feature Request IDE-CodeStyle Built-in analyzers, fixes, and refactorings and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 4, 2020
@jinujoseph jinujoseph added this to the Backlog milestone Nov 4, 2020
@sharwell sharwell added the Need Design Review The end user experience design needs to be reviewed and approved. label Nov 4, 2020
@sharwell sharwell added this to In Queue in IDE: Design review via automation Nov 4, 2020
@sharwell sharwell added IDE-Formatter Code formatter and/or smart indent and removed IDE-CodeStyle Built-in analyzers, fixes, and refactorings labels Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Feature Request IDE-Formatter Code formatter and/or smart indent Need Design Review The end user experience design needs to be reviewed and approved.
Projects
Status: In Queue
IDE: Design review
  
In Queue
Development

No branches or pull requests

4 participants