I've tried to sync IntelliJ/Android Studio configurations across installs/machines using several different methods (including the built-in settings repository), and none seem to work as reliably as I would like.
This is a manual setup checklist that replaces those methods.
Last checked: IntelliJ IDEA CE 2018.2.6
In Editor -> Font
:
- Set
Font
toDroid Sans Mono Slashed
- Set
Size
to15
In Editor -> General
:
- Check
Ensure Line Feed At File End On Save
In Editor -> General -> Auto Import
:
- Check
Optimize imports on the fly
- Check
Add unambiguous imports on the fly
In Editor -> General -> Appearance
:
- Configure
Show parameter name hints
and uncheckShow argument name hints
for Kotlin
In Editor -> General -> Editor Tabs
:
- Set
Placement
toNone
In Editor -> Color Scheme -> General -> Editor -> Guides -> Visual guides
:
- Set
Foreground
to1A4A21
In Editor -> Code Style -> Java -> Code Generation
:
- Check
Make generated local variables final
- Check
Make generated parameters final
- Set
Default Visibility
to private
In Editor -> Inspections -> Java -> Class Structure
:
- Check
Utility Class Is Not Final
and set severity toWarning
- Check
Utility Class With Public Constructor
and set severity toError
- Check
Utility Class Without Private Constructor
and set severity toError
In Editor -> Inspections -> Java -> Code style issues
:
- Check
Field may be 'final'
and set severity toError
- Check
Local variable or parameter can be final
and set severity toError
In Editor -> Inspections -> Java -> Control Flow Issues
:
- Check
Fall-through In Switch Statement
and set severity toError
In Tools -> Terminal
:
- Uncheck
Override IDE shortcuts
In Keymap -> Main menu -> Window -> Editor Tabs
:
- Set
Split Vertically
shortcut toCommand-Shift-S
- Set
Unsplit
shortcut toCommand-Shift-U
In Keymap -> Main menu -> View
:
- Set
Toggle Distraction Free mode
shortcut toCommand-Shift-D
.
In Help -> Edit Custom Properties
:
- Add the line
studio.projectview=true
In Preferences -> Build, Execution, Deployment -> Instant Run
:
- Uncheck
Enable Instant Run