VS Code Auto Save – Turn it ON
By default, VS Code doesn’t have the Auto Save option turned on. However, it’s very easy to turn on Auto Save. Turn ON Auto Save Go to File -> Auto Save and select...
By default, VS Code doesn’t have the Auto Save option turned on. However, it’s very easy to turn on Auto Save. Turn ON Auto Save Go to File -> Auto Save and select...
The desktop version of VS Code has a new feature that pops a confirmation dialog before quitting the app. This feature however has been available for VS Code for Web for some time, so...
In this post, we’re going to find out what is a Single Action Controller, how to create one, and what are the pros and cons of using it. Let’s dive in! What...
VS Code introduced a new cool feature that allows you to set up the terminal to auto-reply when a prompt is received. Here I have a very simple script that needs a YES or...
Let’s find out how to set up Eloquent Models to use UUIDs are Primary Key in a MySQL database, instead of auto-incrementing integers. I won’t go into depth about the pros and cons of...
In this post, we’re going to implement the Repository design pattern in a Laravel application. If you’re coming from the Symfony world or any other framework that uses the Repository pattern to interact with...
VS Code’s latest update introduced a new command to surround a piece of code with a snippet. It’s easy, fast, and may speed up your coding. Let’s have a look! Let me know...
We’re going to have a look, in just a few steps, at how to seed the database with data that come from a JSON file within our application. In this example, we’ll use the...
Let’s quickly have a look at how to integrate Git Bash as the default integrated terminal in Visual Studio Code. By default, VS Code comes with Powershell as the default terminal if you’re on...
In this post, we’re going to look at a simple way of unit testing a Model’s getters and setters. We won’t go into the debate on whether or not it’s ok to write specific...