[Solved] Terminal hints feature not working

Problem: I enabled the “Terminal hint” feature in the cursor settings, but it seems like it is not working by default because there is no shortcut assigned to it. I used to see a message saying “undefined to generate command”.

Solution:
In the keybindings.json, add a shortcut entry for command “cursorai.action.generateInTerminal”

Hit Cmd + P, then type “> Keyboard” to open the keybindings.json

{
        "key": "cmd+/",
        "command": "cursorai.action.generateInTerminal"
}

Now, You’ll be able to trigger the popup and generate commands in terminal

1 Like