csharpier
csharpier copied to clipboard
Spacing after StyleCop.Analyzers file header
Feature request to add spacing after a file header that may include copyright information.
In my case, the file header is generated by the StyleCop.Analyzers package and may be configured.
Input:
// <copyright file="MyFile.cs" company="MyCompany">
// Copyright (c) MyCompany. All rights reserved.
// </copyright>
#nullable enable
or
// <copyright file="MyFile.cs" company="MyCompany">
// Copyright (c) MyCompany. All rights reserved.
// </copyright>
namespace My.Namespace
Output:
// <copyright file="MyFile.cs" company="MyCompany">
// Copyright (c) MyCompany. All rights reserved.
// </copyright>
#nullable enable
or
// <copyright file="MyFile.cs" company="MyCompany">
// Copyright (c) MyCompany. All rights reserved.
// </copyright>
namespace My.Namespace
Expected behavior:
// <copyright file="MyFile.cs" company="MyCompany">
// Copyright (c) MyCompany. All rights reserved.
// </copyright>
#nullable enable
or
// <copyright file="MyFile.cs" company="MyCompany">
// Copyright (c) MyCompany. All rights reserved.
// </copyright>
namespace My.Namespace
This issue is stale because it has been open 180 days with no activity and was not assigned a label or milestone. Leave a comment if this still needs to be addressed or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.