IntelliJ IDEA Notes
IntelliJ IDEA Notes
This document contains a collection of notes, recommended plugins, and keyboard shortcuts for IntelliJ IDEA.
Recommended Plugins
Copilot: AI-powered code completion and suggestion tool.Lombok: Reduces boilerplate code for model/data objects (e.g., getters, setters, constructors).Codeium: A free AI code completion tool, similar to Copilot.
Troubleshooting
Codeium Not Opening
If the Codeium tool window or login page does not open correctly, you may need to disable the JCEF sandbox.
- Go to
Help > Find Action.... - Search for “Registry” and open it.
- Find the key
ide.browser.jcef.sandbox.enableand disable it (uncheck the box). - Restart the IDE.
Keyboard Shortcuts
Shift + Shift–Search Everywhere**- Find any file, action, class, or symbol.
Ctrl + E–Recent Files**- Show a list of recently opened files.
Ctrl + Shift + F–Find in Files- Search for a string in the entire project.
Ctrl + Shift + R–Replace in Files- Find and replace a string in the entire project.
Alt + Insert–Generate Code**- Create constructors, getters, setters,
toString(), etc.
- Create constructors, getters, setters,
Ctrl + Alt + O–Optimize Imports**- Remove unused imports and organize current ones.
Ctrl + Shift + /–Block Comment**- Create or remove block comments for selected code.
Ctrl + Shift + Up/Down Arrow–Move Line**- Move the current line or selected block up or down.
Shift + F10–Run**- Run the current configuration.
Alt + Shift + Insert–Column Selection Mode- Toggle between line and column (block) selection.
Alt + Shift + Click/Drag–Multi-Cursor**- Place multiple cursors to edit simultaneously.
Shift + F6–Rename**- rename variable / file.