file_header_template

Insert or correct a // comment header at the top of the file. Supports {fileName}. IDE0073.

Value Notes
<template> Any integer.
unset

Default: (not set)

No known case where Curb's output is not a fixed point of dotnet format — see conformance.

Ini
file_header_template = Copyright (c) Example Corp.\nLicensed under the MIT license.
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}
C#
// Copyright (c) Example Corp.
// Licensed under the MIT license.

namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}
Ini
file_header_template = unset
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}
C#
namespace N;

public class Widget
{
    public int Value { get; set; }

    public int Double()
    {
        return Value * 2;
    }
}