This tutorial will show how to install visual studio code on mac.
What is Visual Studio Code
Visual Studio Code is free and available on your favorite platform – Linux, Mac OSX, and Windows. Download Visual Studio Code to experience a redefined code editor optimized for building and debugging modern web and cloud applications.
How to Install Visual Studio Code on Mac
To install visual studio code on mac:
- Download Visual Studio Code for Mac.
- Double-click on the downloaded archive to expand its contents.
- Drag Visual Studio Code.app to the Applications folder, making it available in the Launchpad.
- Add VSCode to your Dock by right-clicking on the icon and choosing Options Keep in Doc.
After installing the VS Code, we can also configure the code to open from a command line, and it is pretty darn easy for us to do that.
- Launch Visual Studio Code.
- Open the Command Palette (⇧⌘P) and type ‘shell command‘ to find the Shell Command: Install the ‘code’ command in the PATH command.
Now, if you have created any project that goes into that folder and hit the following command to open that project into the Visual Studio Code.
See, it is straightforward to install visual studio code on mac.
Some of the best language supports are as follows.
CSS, Sass, Less
VS Code Extension Marketplace.
The features that Visual Studio Code includes out-of-the-box are just the start. In addition, VS Code extensions let you add languages, debuggers, and tools to your installation to support your development workflow.
There are many PHP extensions out there, and some of the famous ones are as follows.
- PHP Intellisense
- PHP Debug
One of the main features of the Visual Studio Code is its great debugging support. VS Code’s built-in debugger helps accelerate your edit, compile, and debug loop.
Using Version Control in VS Code
Visual Studio Code has integrated source control and includes Git support out of the box.
Many other source control providers are available through extensions on the Visual Studio Code Marketplace.
In Visual Studio Code, you can open an integrated terminal, initially starting at the root of your workspace. It can be very convenient as you don’t have to switch windows or alter the state of an existing terminal to perform a quick command-line task.
VS Code fails to update
If Visual Studio Code doesn’t update once it restarts, macOS might set it under quarantine. Follow the steps in this issue for resolution.
How do I uninstall Visual Studio Code?
If you want to delete all user data after uninstalling VS Code, you can remove the user data folders
It will return you to the state before you install VS Code.
This can also reset all the settings if you don’t want to uninstall VS Code.
The folder locations will vary depending on your platform:
- Windows – Delete
- macOS – Delete
- Linux – Delete
VS Code is the free code editor, which runs on MacOS, Linux, and WindowsOS.
Follow the platform-specific guides below:
VS Code is lightweight and should run on the most available hardware and platform versions.
You can review the System Requirements to check if the computer configuration is supported.