LSP4IntelliJ surfaces these LSP capabilities in JetBrains IDEs.
Note: Features are mainly tested on IntelliJ IDEA.
- Code Completion (with code snippet support)
- Code Formatting
- Diagnostics
- Code Actions
- Go to Definition
- Go to References / Find Usages
- Hover Support
- Workspace Symbols
- Renaming Support
- Work in progress
Press Ctrl+Space to see the completion items list, which depends on your cursor position. Code completion items also pop up automatically based on your language-server-specific trigger characters.
For code snippets, use Tab/Enter to navigate to the next placeholder position, or Esc to apply the snippet with default values.
Navigate to Code → Reformat Code to open a dialog that lets you format the whole file or a selected range.
To see diagnostics (errors, warnings, etc.), hover over them to view the message.
Hover over any diagnostic highlight to view and apply related code actions via the light bulb that pops up.
Use Ctrl+Click (Cmd+Click on macOS) to navigate to a symbol's definition.
Use Ctrl+Click (Cmd+Click on macOS) or Shift+Alt+F7 on a symbol to view its references/usages.
Hover over an element while pressing Ctrl (Cmd on macOS) to view its documentation, if available.
Click Navigate in the top menu, then Symbol…, and enter the name of the symbol you want to search for.
Place the cursor on the element to rename and press Shift+F6 to trigger in-place renaming.
- Signature Help









