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
Rustfmt can currently be told to check for a license header at the top of all files, but ideally it would insert it for you automatically.
While the current implementation supports regex parsers for things like the current year, we'd need to extend that so that rustfmt would understand what to expand to. Intellij uses a syntax like ${today.year} for that: https://www.jetbrains.com/help/idea/copyright-profiles.html.
The text was updated successfully, but these errors were encountered:
Closing as we're going to drop the license related features. License management is certainly a useful feature, but think this would be best served in dedicated tooling instead of an incomplete aside in rustfmt
Rustfmt can currently be told to check for a license header at the top of all files, but ideally it would insert it for you automatically.
While the current implementation supports regex parsers for things like the current year, we'd need to extend that so that rustfmt would understand what to expand to. Intellij uses a syntax like
${today.year}
for that: https://www.jetbrains.com/help/idea/copyright-profiles.html.The text was updated successfully, but these errors were encountered: