-
-
Notifications
You must be signed in to change notification settings - Fork 257
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
Add code snippet for extension template #1899
Conversation
For developing with Visual Studio Code
!format |
That seems quite reasonable Will vscode interpret the \t as literal tabs or convert them to 2 spaces? |
It auto-converts them based on your settings, so if your settings are to indent with 2 spaces, each |
Believe the formatting bot was only told how to handle the extensions folder |
This could change my new extension workflow |
Honestly I love this, I currently use my own self made template extension as the base for any extension I make, I can provide this later. |
Wish there was standard for these snippets that all editors understand not just vscode |
What if we add a menu as well to the template? |
The default value from the first placeholder token will apply to all
What do you mean? |
probably adding a menu (as in, |
Along with a menu, maybe as well some block text and a input (considering args is defined in the function later) Maybe something like
|
if you want to add anything it would be giving the block a text field but really its fine... just makes adding new extension slightly easier. still have to actually write it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is fine as is
I am gonna merge this, anything further can go in a new pull request |
Code snippets can be used in Visual Studio Code and let developers autocomplete specific snippets of code, speeding up repetitive processes. Here's how it could work for us:
Snippet.completion.demo.mp4