Reassigning keymap for Insert Inline Proposal
Answered
With the latest version of either IntelliJ or the Windsurf plugin, my reassignment of the keymap for accepting a suggestion was lost. I prefer to use Ctrl+Tab as Tab only interferes with normal Tab use. So I have added Ctrl+Tab to Main Menu / Code / Code Completion / Insert Inline Proposal and removed Tab. This has no effect though, Ctrl+Tab doesn't work and Tab accepts the suggestion. What am I doing wrong here?
I have checked the keymap config file and it contains: <action id="InsertInlineCompletionAction"> <keyboard-shortcut first-keystroke="ctrl tab" /> </action>
Please sign in to leave a comment.
Same for me, just recently lost my keybind and changing any combination of code completions in KeyMap doesnt work :(
Hi Nils,
I don't seem to be having this problem on my machine.
Does it show you the correct completion shortcut in the editor?
Does it work for you if you disable the Windsurf plugin? Does it help if you disable ALL custom plugins?
I don't get a shortcut explanation like that, just the suggested text in grey:
If I disable the Windsurf plugin I get no suggestion to accept, what am I missing here?
I also have the same behaviour as Nils. No hint for the shortcut, only the inline completion suggestion.
I realize I probably should have written which version I run:
IntelliJ IDEA 2025.1.1.1 (Ultimate Edition)
Build #IU-251.25410.129, built on May 9, 2025
Source revision: b815cfdcaa594
Licensed to KulturIT ANS / Nils Weinander
Subscription is active until October 31, 2025.
Runtime version: 21.0.6+9-b895.109 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
Kotlin plugin: K2 mode
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 24
Registry:
ide.experimental.ui=true
scala.erase.compiler.process.jdk.once=false
Non-Bundled Plugins:
hu.aradipatrik.nightowlnative (1.1)
com.codeium.intellij (2.0.4)
org.jetbrains.plugins.hocon (2025.1.0)
org.jetbrains.plugins.gitlab (251.25410.159-IU)
org.jetbrains.plugins.github (251.25410.159-IU)
org.intellij.scala (2025.1.797)
com.github.tomasmilata.intelliroutes (2025.2.0)
Kotlin: 251.25410.129-IJ
I have the same issue in last versions of Intellji. I cannot accept autocomplete suggestions by windsurf
https://windsurf.canny.io/feature-requests/p/restore-custom-auto-completion-shortcut-in-windsurf
https://windsurf.canny.io/feature-requests/p/bring-back-key-configuration-for-accept-completion
As a workaround, you can try installing one of the previous versions of the plugin, e.g. 2.0.0. They are available for downloading here: https://plugins.jetbrains.com/plugin/20540-windsurf-plugin-formerly-codeium-for-python-js-java-go--/versions
For more information on how to install plugins from disk, see https://www.jetbrains.com/help/idea/managing-plugins.html#install_plugin_from_disk
Thanks Arina!
Thanks for the info Arina.
Has anyone been able to make this work? I installed 2.0 Windsurf plugin and set the Main Menu / Code / Code Completion / Insert Inline Proposal to my \ key and still doesnt work. It inserts the proposal with Tab still.