dotnet/roslyn

=>增加格式化对齐-=> increase formatting alignment

開放

#37,332 建立於 2019年7月18日

 (0 則留言) (0 個反應) (0 位負責人)C# (4,257 個分叉)batch import
Area-IDEBugDeveloper CommunityIDE-Formatterhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 256 個 PR)

描述

This issue has been moved from https://developercommunity.visualstudio.com/content/problem/649054/增加格式化对齐.html VSTS ticketId: 948246 These are the original issue comments:

Visual Studio Feedback System on 7/17/2019, 01:40 AM (34 hours ago): We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps. Jane Wu [MSFT] on 7/17/2019, 08:01 PM (15 hours ago): Translated from Bing:public static bool HasComponent<TComponent>(this Component component) where TComponent : Component => component.gameObject.HasComponent<TComponent>();

public static TComponent GetOrAddComponent<TComponent>(this Component component) where TComponent : Component => component.gameObject.GetOrAddComponent<TComponent>();At present, when writing this code, when it is formatted, => is free when indenting, it is recommended to fix the alignment.

These are the original issue solutions: (no solutions)

貢獻者指南