rjmacarthy / 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.

Home Page:https://rjmacarthy.github.io/twinny-docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change shortcuts for suggestions

nagman opened this issue · comments

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):

  • OS: Macos 14.4.1
  • Version: 3.11.30

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

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:

  • VS Code 1.88.1
  • macOs 14.4.1
  • Ollama 0.1.32
  • twinny 3.11.31
  • model codellama:7b-code (digest fc84f39375bcfe7612f7636a681ebb13d54eb4466e6ea6da07b5d1c37b49994d)
  • model codellama:7b-instruct (digest 8fdf8f752f6e80de33e82f381aba784c025982752cd1ae9377add66449d2225f)

Are there others details you'd need?