How to add / modify @author tag in all java files

Hi everyone,

I am very new to idea and i am having trouble with a small thing, which i will appreciate if anyone can help me with.

I have an old project with lots of src files with @author tag in a different format.

Also there are some files which dont have @author tag.

I want to add the @author tag in a specified format to all files in my project.

Is there a way this can be done..
This would be really helpful if anyone can suggest something on this.


1 comment
Comment actions Permalink

If the specified format doesn't contain any file related information then you could use the find-n-replace action in your project with regular expressions.

that'll be CtrlShiftR | In 'Text to find' type something like \@author.* | check the 'regular expressions' box



Please sign in to leave a comment.