Go to Settings -> Editor -> File and code templates -> Includes tab (on the right). There is a template header for the new files, you can use the username here: /** * @author myname */ For system username use: /** * @author ${USER} */ https://stackoverflow.com/a/18961054/2050561