File Types
File | Settings | Editor | Copyright | Formatting | <File Type> for Windows and Linux
GoLand | Preferences | Editor | Copyright | Formatting | <File Type> for macOS
Ctrl+Alt+S
Item | Description |
---|---|
No copyright | If this option is selected, the copyright notice will not be updated in the files of the selected type. |
Use default settings | If this option is selected, the copyright notice will be updated according to the. default settings for new projects. |
Use custom formatting options | If this option is selected, the copyright notice in the files of the selected type will be updated according to the custom settings defined below. |
Comment Type | In this area, specify the type of comment to enclose copyright notices in. The available options are:
|
Borders | In this area, define how to separate copyright notices from other comments.
|
Relative Location | In this area, specify the location of a copyright notice relative to other comments.
|
Preview | Use this area to view a sample copyright notice with the formatting you have defined. |
Location in File | Use this area to specify the location of the copyright notice in a file. Depending on the file type, the available options are:
|