dotnet/roslyn

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

オープン

#37,332 opened on 2019/07/18

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (4,257 件のフォーク)batch import
Area-IDEBugDeveloper CommunityIDE-Formatterhelp wanted

Repository metrics

Stars
 (20,414 個のスター)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

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)

コントリビューターガイド