2020-05-06 15:41:14 +02:00
|
|
|
---
|
|
|
|
|
title: Intellij IDEA Configuration
|
|
|
|
|
---
|
2020-03-09 08:01:43 +01:00
|
|
|
|
|
|
|
|
## Backend
|
|
|
|
|
|
|
|
|
|
### Plugins
|
|
|
|
|
|
|
|
|
|
* Lombok Plugin
|
|
|
|
|
* MapStruct Support
|
|
|
|
|
|
|
|
|
|
### Settings
|
|
|
|
|
|
2020-10-15 11:58:20 +02:00
|
|
|
* Build, Execution, Deployment / Compiler
|
|
|
|
|
* Add runtime assertions for non-null-annotated methods and parameters (must be checked)
|
|
|
|
|
* Configure annotation ... (of "Add runtime assertions...")
|
|
|
|
|
* Nullable annotations: select (✓) `javax.annotation.Nullable`
|
|
|
|
|
* NotNull annotations: select (✓) `javax.annotation.Nonnull` and check Instrument
|
|
|
|
|
|
2020-03-09 08:01:43 +01:00
|
|
|
* Editor / Code Style / Java
|
|
|
|
|
* Tab Imports
|
|
|
|
|
* Class count to use import with '*': <MAX_INT>
|
|
|
|
|
* Names count to use static import with '*': <MAX_INT>
|
|
|
|
|
|
|
|
|
|
## Frontend
|
|
|
|
|
|
|
|
|
|
### Plugins
|
|
|
|
|
|
|
|
|
|
* Prettier
|
|
|
|
|
* File Watchers
|
|
|
|
|
|
|
|
|
|
### Settings
|
|
|
|
|
|
|
|
|
|
* Languages & Frameworks / Node.js and NPM
|
|
|
|
|
* Package Manager: yarn
|
|
|
|
|
|
|
|
|
|
* Languages & Frameworks / Javascript / Code Quality Tools / ESLint
|
|
|
|
|
* Enable
|
2020-03-31 17:28:30 +02:00
|
|
|
* ESLint package: .../node_modules/eslint
|
2020-03-09 08:01:43 +01:00
|
|
|
* -OR- Automatic ESLint configuration
|
|
|
|
|
|
|
|
|
|
* Languages & Frameworks / Javascript / Prettier
|
2020-03-31 17:28:30 +02:00
|
|
|
* Prettier package: .../node_modules/prettier
|
2020-03-09 08:01:43 +01:00
|
|
|
|
|
|
|
|
* Tools / File Watchers
|
|
|
|
|
* Add Prettier
|
|
|
|
|
* Deselect: Track only root files
|
|
|
|
|
* Scope: Current File
|
2020-03-31 17:28:30 +02:00
|
|
|
* Program: $ProjectFileDir$/node_modules/.bin/prettier
|
|
|
|
|
* Working Directory: $ProjectFileDir$
|
2020-03-09 08:01:43 +01:00
|
|
|
|
|
|
|
|
## Both
|
|
|
|
|
|
2020-03-31 17:28:30 +02:00
|
|
|
### Plugins
|
|
|
|
|
|
2020-03-23 15:35:58 +01:00
|
|
|
* EditorConfig
|
|
|
|
|
|
2020-03-31 17:28:30 +02:00
|
|
|
### Settings
|
|
|
|
|
|
2020-03-23 15:35:58 +01:00
|
|
|
* Editor / Copyright / Copyright Profiles
|
|
|
|
|
* Add Profile
|
|
|
|
|
* Name: SCM-MIT
|
|
|
|
|
* Copyright text: *see LICENSE.txt in the main directory*
|
|
|
|
|
* Regex: MIT License
|
|
|
|
|
|
|
|
|
|
* Editor / Copyright
|
|
|
|
|
* Default project copyright: SCM-MIT
|
|
|
|
|
|
|
|
|
|
* Editor / Copyright / Formatting / XML
|
|
|
|
|
* Use custom formatting options
|
|
|
|
|
* Use block comment, check prefix each line
|
|
|
|
|
* Select: Separator before, Length: 0
|
|
|
|
|
* Separator: *space*
|