keyboard Shortcuts for AI Actions
Hi,
Is it possible to define keyboard shortcuts for the new AI Actions like ‘Explain Code' or ‘New Chat Using Selection’ and / or for my own prompts?
When I open the keyboard settings and search for AI Actions / Explain Code / New Chat Using Selection nothing is found.
Any Help is Appreciated,
Thomas
Please sign in to leave a comment.
I've noticed that several AI shortcuts not working. If I right click and select AI Actions, I have the complete list of actions as demonstrated in videos from JB. If I alt-enter and then select the AI Actions, it is empty but there are options to Edit Intention, disable AI Actions and Assign Shortcut.
Finally, the Alt + / and Ctrl + / appear to be assigned to different short cuts (ctrl + / is comment out line). The instructions in the Chat Prompt's default text shows these as the short cuts for Generate Code (ctrl + /) and Multiline auto completed (alt +/).
Following
Chuck
Currently, only actions available in Settings (
⌘ + ,
orCtrl + Alt + S
) > Keymap > Plugins > AI Assistant are possible to be mapped to keyboard shortcuts. Please see following feature requests:https://youtrack.jetbrains.com/issue/LLM-1438
https://youtrack.jetbrains.com/issue/LLM-1925
And vote for them and follow for progress updates.
Swampyfox
When you press
Alt+Enter
, and click on AI Actions.. option, do you see all of the available AI Actions in a popup?Code completion and Generate code actions are by default assigned to
Alt + \
(backslash) andCtrl + \
(it shouldn't be assigned toAlt + /
andCtrl + /
)Ivan Pajic - When I press Alt Enter as shown in the image, I have nothing there:
This is true on three different machines - so, there could be a settings sync that is affecting that.
I am using the “ReSharper” keymap.
Swampyfox
Can you click on the AI Actions… option in the context menu? It should open another popup with the AI Actions list: