Add single line at start of multiple files
I need to add license comments for multiple Files.
I know that regex should work, but what if it only matches the header of file.
As shown in the figure below, this method is ok, but I need to replace it manually to avoid not being the first line
请先登录再写评论。
Have you tried using copyright profiles: https://www.jetbrains.com/help/idea/copyright.html
https://www.jetbrains.com/help/idea/copyright-settings.html?