Open in IntelliJ and click Run Plugin on the top right corner. And then download required packages.
The autocomplete accept and reject keystrokes are fully customizable via IntelliJ's keymap settings:
- Accept Completion:
Tab - Reject Completion:
Escape
- Open Settings/Preferences → Keymap
- Search for "Accept Edit Completion" or "Reject Edit Completion"
- Right-click on the action and select "Add Keyboard Shortcut"
- Assign your preferred keystroke (e.g.,
Enter,Ctrl+Space, etc.) - The plugin will automatically adapt to your custom keystrokes without requiring a restart
Note: The keystroke must map to a standard editor action (like TAB, ENTER, ESCAPE, arrow keys, etc.) to be intercepted reliably. Custom key combinations that don't correspond to editor actions may not work.
For IdeaVim users, put in your ~/.ideavimrc:
sethandler <Tab> a:ideOr if it doesn't work:
map <Tab> :action dev.sweep.assistant.autocomplete.edit.AcceptEditCompletionAction<CR>You can also customize the IdeaVim mapping to use different keys:
" Use Enter to accept completions
map <CR> :action dev.sweep.assistant.autocomplete.edit.AcceptEditCompletionAction<CR>
" Use Ctrl+Y to reject completions
map <C-y> :action dev.sweep.assistant.autocomplete.edit.RejectEditCompletionAction<CR>