twinnydotdev / twinny

The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but completely free and 100% private.
https://twinny.dev
MIT License
2.3k stars 126 forks source link

Change shortcuts for suggestions #228

Closed nagman closed 2 months ago

nagman commented 2 months ago

Describe the bug I'd like to run the auto suggestion feature, but it doesn't seem to work.

The Alt + \ shortcut isn't possible on my AZERTY keyboard. I'd like to change the keymaps, but I haven't found it in vs code.

Is the suggestion feature only triggered with this shortcut? Or is it supposed to run automatically upon typing, as with Github Copilot? If so, then that just doesn't work for me :(

Desktop (please complete the following information):

rjmacarthy commented 2 months ago

Hello, you should be able to change the shortcuts in the vscode keybindings menu if your keyboard doesnt have certain keys, search for twinny and Trigger Inline Suggestion it shares the same with Copilot so it might conflict. Auto suggest should be enabled by default, the robot icon in the bar will spin if something is happening. Please provide logs, api/provider details, model name and any further information related to your issue.

Thanks

nagman commented 2 months ago

I've set the keybinding to editor.action.inlineSuggest.trigger, but it does nothing (the robot icon doesn't spin). There is no twinny keybinding related to Trigger Inline Suggestion: image

I'm using:

Are there others details you'd need?