THANK YOU!! YES I AM SHOUTING THANK YOU. This is so much better than the default snippet, which by the way is not working in Mac M1 pro. So I am glad this much better version is what I now get to use.
Thank you for a great presentation of a really useful extension. Do you know how to easily manage global snippets with this? I tried to use Scope Manager to get the global file. I got edit access eventually but that's all.
Thank you. However, it appears as if the snippet only works within the file where it was created and not in a new project. How can the custom snippet be accessed globally?
Hi admin I'm trying to generate a snippet in VSCode like this: "example":{ "prefix": "example", "body": [ "{$1$}" ] } And I get the output as: {$}. But the result I want is: {$1$}. So what can I do? Thanks.
If the snippet has some placeholders such as $TM_SELECTED_TEXT or $SELECTION and then you use the Command palette > 'Surround With Snippet' feature the productivity increases by 10x😉 More info about snippets here code.visualstudio.com/docs/editor/userdefinedsnippets But i warn you! This is a deep rabbit hole, with regex and stuff. An alternative snippet tool is marketplace.visualstudio.com/items?itemName=yatki.vscode-surround but it keeps it's own snippets that you need to manually add/override in settings.json and they don't appear in the Easy Snippet plugin. At the moment is still use this plugin because it has a keyboard shortcut set that I've learned and it is marginally faster because the used snippets are ordered based on last used not alphabetically, but I will probably switch to the "Surround With Snippet" feature when I'll find out how to better customize it.
Any idea how to use global or project or environmental variables in snippets? Let's say I have a project that use textdomain XXX for translations and I would like to write snippets for functions like __() or _e() or esc_html(), etc... and they need a second argument to be automatically that XXX, so in next project I can easily change it in a single place and not in every single snippet again and again
@@syntaxfm not necessarily. If this is used mainly for front end development. But I’m not a fan of copy duplicating code Willy nilly. Even though I do it all the time myself lol.
Thank you for a great presentation of a really useful extension. Do you know how to easily manage global snippets with this? I tried to use Scope Manager to get the global file. I got edit access eventually but that's all.
THANK YOU!! YES I AM SHOUTING THANK YOU. This is so much better than the default snippet, which by the way is not working in Mac M1 pro. So I am glad this much better version is what I now get to use.
Thank you so much! This is definitely one of my favorite extensions by far.
Thank you for a great presentation of a really useful extension. Do you know how to easily manage global snippets with this? I tried to use Scope Manager to get the global file. I got edit access eventually but that's all.
You sir just brought the next big thing for ue5.1
Thank you. However, it appears as if the snippet only works within the file where it was created and not in a new project. How can the custom snippet be accessed globally?
Hi admin
I'm trying to generate a snippet in VSCode like this:
"example":{
"prefix": "example",
"body": [
"{$1$}"
]
}
And I get the output as: {$}.
But the result I want is: {$1$}. So what can I do? Thanks.
wow this is great. BTW you can add place holders and they still work. EX: ${1:here} put this wherever you want the curser to start.
this is cool, better than other snippet "packages" plugins
If the snippet has some placeholders such as $TM_SELECTED_TEXT or $SELECTION and then you use the Command palette > 'Surround With Snippet' feature the productivity increases by 10x😉
More info about snippets here code.visualstudio.com/docs/editor/userdefinedsnippets But i warn you! This is a deep rabbit hole, with regex and stuff.
An alternative snippet tool is marketplace.visualstudio.com/items?itemName=yatki.vscode-surround but it keeps it's own snippets that you need to manually add/override in settings.json and they don't appear in the Easy Snippet plugin. At the moment is still use this plugin because it has a keyboard shortcut set that I've learned and it is marginally faster because the used snippets are ordered based on last used not alphabetically, but I will probably switch to the "Surround With Snippet" feature when I'll find out how to better customize it.
Thanku so much bro❤ i needed exactly this functionality 😊
Doesn't work for me. It doesn't categorize types and when I try to apply it does not suggest similar. Restarted VSC. Still not working.
Thx for awesome content. I'v been curious for a while, how do you make these super quick console.log after having som variable marked? cheers
Any idea how to use global or project or environmental variables in snippets? Let's say I have a project that use textdomain XXX for translations and I would like to write snippets for functions like __() or _e() or esc_html(), etc... and they need a second argument to be automatically that XXX, so in next project I can easily change it in a single place and not in every single snippet again and again
Great nuggets, great presentation skills all the way around. I'm subscribing though I have no interest in Vue!
if i switch in another laptop will the snippets be there too?
if you're logged into vs code and sync your account/settings i think so
awesome love this!
yes finally l can stop retyping stuff everytime 😃
Nothing like a little code duplication in the morning
Are you saying this is a bad thing?
@@syntaxfm not necessarily. If this is used mainly for front end development. But I’m not a fan of copy duplicating code Willy nilly. Even though I do it all the time myself lol.
@@francescocommisso5352 Usually snippets are useful for structure, patterns and boilerplate, not things that would make your codebase "wet"
nice bro
this read like an ad but its too good for me not to use
When I get excited it can def sound like an add.
I'll be back
🔥🔥🔥🔥🔥🔥🔥🔥🔥
Amazing I love them all It was and really is very helpful Thanks I love your theme and font @ LevelUpTuts
i love this vs code theme.
What's name of the theme?
yeah, it’s very cool !
@@pramudyaindra yaaa
Thank you for a great presentation of a really useful extension. Do you know how to easily manage global snippets with this? I tried to use Scope Manager to get the global file. I got edit access eventually but that's all.