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)

贡献者指南