Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] paste snippet on file creation #608

Open
BachiMjavanadze opened this issue Apr 20, 2024 · 2 comments
Open

[Feature request] paste snippet on file creation #608

BachiMjavanadze opened this issue Apr 20, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@BachiMjavanadze
Copy link

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?

@VladBrok VladBrok added enhancement New feature or request good first issue Good for newcomers labels Apr 25, 2024
@VladBrok
Copy link
Collaborator

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.

@BachiMjavanadze
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants