dotnet/roslyn

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

Ouverte

#37 332 ouverte le 18 juil. 2019

 (0 commentaire) (0 réaction) (0 personne assignée)C# (4 257 forks)batch import
Area-IDEBugDeveloper CommunityIDE-Formatterhelp wanted

Métriques du dépôt

Stars
 (20 414 étoiles)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

Description

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)

Guide contributeur