Installing VS Code On MacOs


Introduction to Visual Studio Code
Visual Studio Code (VS Code) is a free, open-source code editor developed by Microsoft. It has quickly become one of the most popular tools among developers due to its lightweight design, extensive customization options, and powerful features. It works on Windows, macOS, and Linux, and has thousands of extensions for languages, debugging, and tools. Whether you're a beginner or an experienced programmer, VS Code provides an efficient and user-friendly environment for coding in various programming languages. Now, I’m going to talk about how install VS code on macOs.
Installing VS Code
Step 1:
Open the search bar on your Mac (press the magnifying glass icon 🔍 on your keyboard), type "Terminal", and open it. Then, enter the following command and press Enter. Follow the system prompts to install the Xcode Command Line Tools. Upon successful installation, you will see the following rows:
Then, enter “ clang --version“ to see if you have successfully installed it by checking its version:
Step 2:
Open this link in Safari: https://code.visualstudio.com, and download for manOs.
Step 3:
After you open the VS code, we need to install some essential extensions. Click the fifth icon on the left, and search ”runner”. And install this extension named “Code runner” :
Click on the ⚙️, then choose ” settings” :
Next, we need to check these following settings :
Finally, we search “c“ in the same searching bar, and install:
Click on the ⚙️on the bottom and choose the “setting”. Search “debug shutcut”, and cancel its check:
Subscribe to my newsletter
Read articles from Tongjia Jiang directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
