

Isn't it annoying when you try to echo out something in your Blade views with and your whole line going back 4 spaces? Well, luckily, the Laravel Blade Spacer fixes that! Some of the supported snippet prefixes include: This one is probably my personal favorite! The Laravel Snippets extension adds snippets for the Facades like Request::, Route:: etc.

View Website Say "hi" to Zigi - your Slack-based workflow assistant, which pings you only on relevant Jira & GitHub changes, saves time on PRs, and more! Learn more about the DevDojo sponsorship program and see your logo here to get your brand in front of thousands of developers. This will enable tab completion for emmet tags and if enable blade formatting.įor more information on the available snippets, make sure to check the documentation here:

Go to File -> Preferences -> Settings and add the following to your settings.json: "iggerExpansionOnTab": true, In order to make sure that the extension works as expected, there is some additional configuration that needs to be done. Some of the main features of this extension are: The Laravel blade snippets extension adds syntax highlight support for Laravel Blade to your VS Code editor. Here is a list of my top 8 VS Code extensions for Laravel developers, which would help you be more productive! 1. This snippet doesn’t just create CSS rules, but a whole declaration block when we type vh and press Enter or Tab.While I'm still a sublime fan for quite some time, I've been mainly using VS Code.įor anyone who is just getting started with Laravel, I would recommend going through this Laravel basics course here!

"description": "A utility class for screen reader accessible hiding." " position: absolute \n white-space: nowrap \n width: 1px \n height: 1px \n overflow: hidden \n border: 0 \n padding: 0 \n clip: rect(0 0 0 0) \n clip-path: inset(50%) \n margin: -1px ", This incredibly long snippet creates this:ĭ('no-js', 'js') VS Code comes built-in with custom user snippets and HTML and CSS snippets and abbreviations provided by Emmet.įor example, if you type p>a+script:src" Snippets And Abbreviations In Visual Studio Code Here’s a quick demo of the custom snippets I’ve created.
