mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-30 03:09:13 +01:00
1.6 KiB
1.6 KiB
title
| title |
|---|
| IntelliJ IDEA Configuration |
Plugins
Make sure the following plugins are installed:
- EditorConfig
- Lombok
- MapStruct Support
- Prettier
Settings
Backend
-
Build, Execution, Deployment / Compiler
- Check "Add runtime assertions for notnull-annotated methods and parameters"
- Configure annotations...
- Nullable
- Add "Nullabel annotations" (if not exist):
jakarta.annotation.Nullable
- Add "Nullabel annotations" (if not exist):
- NotNull
- Add "NotNull annotations" (if not exist):
jakarta.annotation.Nonnulland check "Instrument"
- Add "NotNull annotations" (if not exist):
- Nullable
-
Editor / Code Style / Java
- Imports
- Set "Class count to use import with '*'" to
9999 - Set "Names count to use static import with '*'" to
9999
- Set "Class count to use import with '*'" to
- Imports
Frontend
-
Languages & Frameworks / JavaScript Runtime
- Set "Preferred runtime" to
Node.js - Set "Package manager" to
yarn
- Set "Preferred runtime" to
-
Languages & Frameworks / Javascript / Code Quality Tools / ESLint
- Enable "Automatic ESLint configuration"
-
Languages & Frameworks / Javascript / Prettier
- Enable "Automatic Prettier configuration"
Both
-
Editor / Copyright / Copyright Profiles
- Add Profile with name
SCM-AGPL - Replace the text with content from
LICENSE-HEADER.txt - Set "Regex to detect copyright in comments" to
Copyright
- Add Profile with name
-
Editor / Copyright
- Set "Default project copyright" to
SCM-AGPL - Add "Scopes" with "All" and "Copyright"
SCM-AGPL
- Set "Default project copyright" to
-
Editor / Copyright / Formatting / XML
- Enable "Use custom formatting options"
- Enable "Use block comment" and check "Prefix each line"
- Check "Separator before" and set "Length" to
0 - Set "Separator" to
(Space)