dotnet/roslyn

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

Open

#37,332 创建于 2019年7月18日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)C# (20,414 star) (4,257 fork)batch import
Area-IDEBugDeveloper CommunityIDE-Formatterhelp wanted

描述

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)

贡献者指南