Cannot replace old copyrights
Answered
I've set copyright to detect and replace copyrights using these: “©”
I've also tried to use: “.*©.*”.
I've also tried to only set the “Regexp to detect copyright in comments”, leaving the “Allow replacing copyright if old copyright matches” field empty.
For a simple copyright text “© copyright someone”. When I excecute “Update copyright…”, the old copyright text is untouched, a new one is added to the top of the file. I've tried with lots of file, empty or not: md, java, js, php, html, blah, blah,blah… All is not working.
Am I setting anything wrong?
I'm using IDEA 2024.1.4 Ultimate.
Please sign in to leave a comment.
I'm afraid a bit more details are needed to better understand your case. Please share a short screencast or a couple of screenshots showing actual / expected result and your steps
Files can be uploaded at https://uploads.jetbrains.com Please do not forget to share an UploadID
Thank you!