Intellij Settings
For the benefit of anyone who might be interested and as a reference for myself, here are the IntelliJ (and related macOS) settings I normally use.
This page is being updated on new IntelliJ releases and changes in my preferences. Last updated on 14 December 2021 for IJ 2021.3
.
IDE Settings
- disable
Main Menu > View > Appearance > Navigation Bar
- in
Editor > General
- enable
Smart Keys > Use "CamelHumps" words
- disable
Smart Keys > Honor "CamelHumps" words on double click
- disable
Smart Keys > Surround selection on typing quote or brace
- disable
Appearance > Show intention bulb
- disable
Breadcrumbs > Show breadcrumbs
- disable
Rich-Text Copy > Copy as rich text
- enable
- in
Editor > Code Editing
- disable
Highlight on Caret Movement > Usages of element at caret
- disable
Show quick documentation on hover
- disable
- in
Editor > Inlay Hints
- disable
Show hints for:
- disable
- in
Appearance & Behavior > Appearance
- disable
Smooth scrolling
- disable
Allow merging buttons on dialogs
(in the latest versions of IJ it can only be set in Registry usingide.allow.merge.buttons
) - disable
System Settings > Updates > Show What's New in the editor after an IDE update
- disable
- in
Version Control
- set
Update method
to rebase - enable
Use credential helper
— don’t save passwords in IDE (IDEA-211251)
- set
- in
Advanaced Settings
- enable
User Interface > Position mouse cursor on default button in dialogs
(in some versions of IJ it can only be set in Registry usingide.settings.move.mouse.on.default.button
) - enable
Version Control > Toggle commit controls
- disable
Version Control > Enable Commit tool window
- enable
IDE Registry
Use Find Action
and search for “Registry…”:
- disable
ide.mac.file.chooser.native
— IJ file chooser dialog is just better - disable
light.edit.file.open.enabled
—
because light editor it’s not ready yet (see IDEA-236868) - enable
analyze.exceptions.on.the.fly
—
automatically analyze clipboard content for stacktrace on IDE frame activation - enable
ide.completion.delay.autopopup.until.completed
—
deterministic auto-completion results (see KT-29042) - disable
debugger.valueTooltipAutoShow
— no debugger tooltip on mouse over - disable
show.live.templates.in.completion
(see IDEA-216928) - configure
undo.globalUndoLimit
andundo.documentUndoLimit
- enable
toolwindow.disable.overlay.by.double.key
—
because when usingalt+...
shortcuts (e.g. with IJKL shortcuts plugin) it can be annoying in presentation mode to accidentally open tool window overlay (see IDEA-112097) - enable
vcs.background.commit.checks
— perform commit checks in background - disable
ide.switcher.tool.window.list
andide.recent.files.tool.window.list
— hide tool windows from switcher and recent file popups (see IDEA-131137)
IDE Keymap
- use IJKL shortcuts plugin
- remove
F1
from keymap - use
cmd+2
for Git tool window - use
cmd+M
for “Scroll to Center” - use
cmd+shift+G
for “Execute Gradle Task” - assign a shortcut to
Window > Notifications > Close First / Close All
(see IDEA-218434)
macOS
- disable accents
defaults write -g ApplePressAndHoldEnabled -bool false
- max values for
Preferences > Keyboard > Key Repeat / Delay Until Repeat
- map CapsLock to Control in
Preferences > Keyboard > Modifier Keys...
- disable shortcuts in
Preferences > Keyboard > Shortcuts
which clash with IntelliJ, e.g.cmd+shift+/
- disable option-space, see https://superuser.com/questions/78245