Is there a way to change “all” Java related “File and Code” Templates in ONE place?
问题 By convention, our java files need our company copyright header as first entry in the file. With IntelliJ, you can turn to Preferences->File and Code Templates , and then, in the Includes tab, there is an entry "File Header" where you can drop such copyright information. All fine. But: in the "Files" list that defines the various applicable "types", each type has its own "rule", like: As you can see, that "rule" puts the package name first, so I have to go and change that rule to: #parse(