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

Feature request: Customize template to shown in context menu #267

Open poisson-sg opened 4 days ago

poisson-sg commented 4 days ago

Hello Twinny team:

One of the great features of Twinny is that it allows user to add in their own template to extend its function. In addition, the template settings can let the user set which template they want to use in the chatting window. However, could we add this customization function to the context menu? i.e., the user can also select which template they want to use in the context menu?

rjmacarthy commented 4 days ago

Hello, thanks for the suggestion. AFAIK, the context menu must be declared at compile time therefore it's not possible at runtime to change the options context menu. Many thanks.