Configuration d'IntelliJ IDEA
L’environnement de développement IntelliJ IDEA propose une configuration par défaut plutôt adaptée aux standards du marché. Il est d’ailleurs en général de bon ton de rester le plus proche possible des configurations par défaut afin de ne pas passer de temps à refaire sa configuration lors de la réinstallation d’une machine.
Il existe néanmoins quelques paramètres qu’il me semble intéressant de modifier :
- Editor > General > Auto Import :
Pour le langageJava:- Activer
Optimize imports on the fly (for current project) - Activer
Add unambiguous imports on the fly
- Activer
- Editor > General > Appearance :
ConfigurerShow parameter name hints:- Sélectionner le langage
Kotlinet activer :Show property type hintsShow local variable type hintsShow function return type hintsShow argument name hintsShow lambda return expression hintsShow hints for implicit receivers and parameters of lambdas
- Sélectionner le langage
- Editor > Code Style> Java :
- Paramétrer
Class count to use import with '*'à999 - Paramétrer
Names count to use static import with '*'to999
- Paramétrer
- Keymap :
Changer éventuellement les raccourcis clavier des actionsComment with Line CommentetComment with Block Comment
Note : le raccourci clavier pour changer de fenêtre en vue fractionnée est normalement Alt+Tab