rubberduck-vscode icon indicating copy to clipboard operation
rubberduck-vscode copied to clipboard

Add global template folder

Open DedZago opened this issue 1 year ago • 2 comments

Currently, rubberduck requires users to copy and paste their templates in the .rubberduck/templates folder for each workspace. However, in my case most of the time I have the same templates for every project.

It would be nice to be able to specify a path to a folder which contains templates that can be seen globally in every workspace.

Thank you for your work.

DedZago avatar Apr 11 '23 21:04 DedZago

Another way to achieve this is to write your own VSCode extension with your templates. You don't even need to share it, just install the vsix file in your installation. Here is an example repository:

https://github.com/rubberduck-ai/rubberduck-react-vscode

(this is surprisingly quick, only takes a few minutes to set up)

lgrammel avatar Apr 12 '23 08:04 lgrammel

That would be a way, but I hope you can agree that for the average user it might be significantly more contrived than loading custom prompt files from a specified folder.

DedZago avatar Aug 18 '23 14:08 DedZago