VS Code

Visual Studio Code (VS Code) is a free and open-source code editor developed by Microsoft. It is available on Windows, Linux, and macOS and offers features such as debugging, syntax highlighting, and intelligent code completion.

Some of the key features of VS Code include:

  • Built-in Git integration
  • Support for multiple languages and frameworks
  • Extensions for customizing the editor and adding new functionality
  • Debugging capabilities for Node.js, Python, and other languages
  • Integrated terminal for running commands and scripts

Using a modern editor or IDE can make your coding experience more efficient and productive.

Installation

The installation process depends on your operating system. Follow the instructions below based on your platform:

VS Code Extensions

VS Code extensions are add-ons that allow users to customize and enhance the functionality of the VS Code.

For example, IntelliSense is a popular VS Code extension that provides intelligent code suggestions, auto-completion, and parameter hints while writing code. It is a built-in extension enabled by default in VS Code.

To learn more about extensions, visit the official documentation at https://code.visualstudio.com/docs/introvideos/extend.

Why VS Code

One reason we teach VS Code over other IDEs (.e.g., Spyder, PyCharm, IDLE) is that VS Code is a more general-purpose code editor that supports multiple languages and workflows, and works on Windows, Mac, and Linux machines. VS Code is capable of handling a wide range of tasks and can be used for web development, data analysis, scripting, and more.

VS Code has a lot of built-in functionality for working with other languages including Markdown, SQL, PowerShell, Julia, and more. Learning VS Code is a great skill for someone getting started with programming, data analysis, and/or automation and wants to learn a versatile environment that will accomodate growing skills.

VS Code is widely used and well-supported, with many resources for learning how to use it effectively. In addition to the comprehensive official documenttaion, there are articles and videos available for begineers through experts.

Subsections of VS Code

VS Code: Installation

PowerShell is a powerful command-line shell and scripting language designed for system administration and automation tasks. Here are some options for installing PowerShell on your system:

Windows Users

  • Option 1: Install via Microsoft Store. If you’re running Windows 10 or later, you can install PowerShell via the Microsoft Store. This is the recommended method, as it ensures that you have the latest version of PowerShell and allows for easy updates.

  • Option 2: Download the MSI installer. If you’re not able to install via the Microsoft Store, you can download the MSI installer from the PowerShell GitHub repository. Choose the appropriate version for your system architecture (32-bit or 64-bit) and follow the installation wizard.

macOS Users

  • Option 1: Install via Homebrew. If you’re using Homebrew on your Mac, you can install PowerShell by running the following command in your terminal: brew install --cask powershell.

  • Option 2: Download the PKG installer. You can also download the PKG installer from the PowerShell GitHub repository. Choose the appropriate version for your macOS version and system architecture (Intel or Apple Silicon) and follow the installation wizard.

Linux Users

  • Option 1: Package manager installation. Most Linux distributions include PowerShell in their package repositories. You can search for PowerShell in your package manager and install it from there. For example, on Ubuntu or Debian, you can run sudo apt-get install powershell.

  • Option 2: Download the package manually. You can also download the package for your distribution directly from the PowerShell GitHub repository and install it manually. Follow the instructions for your specific distribution on the download page.

Once you have PowerShell installed, you can use it to perform a wide range of tasks and automate common system administration tasks. Happy scripting!