You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var new User()
{
Name = user.name,
Roles = [] // Todo set roles
};
Output:
var user = new User()
{
Name = user.name,
Roles =
[] // Todo set roles
,
};
Expected behavior:
var new User()
{
Name = user.name,
Roles = [], // Todo set roles
};
The text was updated successfully, but these errors were encountered:
SigtryggurO
changed the title
In object initalization if there is no comma behind the last property that has a comment the formatter wraps
Missing comma on last property causes wrapping due too comma insertion.
Sep 25, 2024
Input:
Output:
Expected behavior:
The text was updated successfully, but these errors were encountered: