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)
file_header_template = Copyright (c) Example Corp.\nLicensed under the MIT license.
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}
// 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;
}
}
file_header_template = unset
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}
namespace N;
public class Widget
{
public int Value { get; set; }
public int Double()
{
return Value * 2;
}
}