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

[Feature request] paste snippet on file creation

Open BachiMjavanadze opened this issue 1 year ago • 2 comments

I found 2 amazing extensions: Auto Snippet and Smart File Templates. they have the feature that definitely should have your extention. These extensions give ability to automatically paste snippets on file creation:

img

I asked them to support synchronization feature but problem is that either they are abandoned or have bad support. Maybe you will copy this feature and implement my issue?

BachiMjavanadze avatar Apr 20 '24 06:04 BachiMjavanadze

Yes this is cool. I won't be able to implement it any time soon because I have many tasks on other projects.

I've added the "good first issue" label. External contributors are welcome!

I'll leave an implementation note: this should be configurable, because not all snippets and not for all languages are suitable for this.

VladBrok avatar Apr 25 '24 20:04 VladBrok

I will update my request; Just do not look at Smart File Templates extension because Auto Snippet is almost done; It has a sync feature as it is configured in settings.json and uses regular VSCode snippets (which sync by default). But it does not support multiple snippets for the same file; For this case, a dropdown menu is needed... a dropdown menu is needed in any case, as I explained above

BachiMjavanadze avatar Apr 26 '24 16:04 BachiMjavanadze

no need this feature anymore, this is better: https://marketplace.visualstudio.com/items?itemName=BachiMjavanadze.terminal-gui

BachiMjavanadze avatar Oct 31 '25 10:10 BachiMjavanadze