IDE
IDE (Integrated Development Environment)
- An application to develop software
- Editor: Write source codes
- Builder: Compile, Execute testing
- Debugger: Support debugging
- Examples of IDE
- Eclipse, Xcode, Android Studio, Visual Studio, IntelliJ IDEA
- Visual Studio Code, Cloud9
Visual Studio Code
- A free and open source IDE
- Developed by Microsoft
- Supports many programming languages
- Supports many extensions
- Available on Windows, MacOS, and Linux
View
- The main view consists of the editor, sidebar, and status bar
- The sidebar can be used to navigate files, view extensions, and manage source control
- The status bar shows information about the current file and workspace
Fudamental Operations
- Open a folder as a workspace
- Open a file in the workspace
- Edit the file
- Save the file
- Run commands in the terminal
Extensions
- Extensions are available to add features to Visual Studio Code
- Extensions can be installed from the marketplace
- Examples of useful extensions
- Language support (e.g., Python, Java, C++)
- Linting and formatting (e.g., ESLint, Prettier)
- Debugging support (e.g., Python, Java)
- Version control (e.g., GitLens, Git Graph)
- Remote development (e.g., Remote - SSH, Remote - Containers)
VSCode Commands
- Open the command palette with
Ctrl + Shift + P (or Cmd + Shift + P on Mac)
- Common commands:
>Open File: Open a file in the workspace
>Open Folder: Open a folder as a workspace
>New File: Create a new file in the workspace
>New Window: Open a new window
>Preferences: Open Settings: Open the settings editor
Summary
- Visual Studio Code is a powerful and flexible IDE
- It supports many programming languages and extensions
- It is available on Windows, MacOS, and Linux
- It is widely used by developers around the world