[Solved] Add single line at the end of multiple files in IntelliJ
Just use Replace in Files (Edit → Find → Replace in Files, or Ctrl+Shift+R in Windows and Linux / ⌘+Shift+R in Mac) to replace this regex: (.)\Z with this: $1\nThis is your line in any files you need. That’s all. Explanation: The regex (.)\Z matches and captures the last character in the whole file: (.) … Read more