# Visual Studio Code

Visual Studio Code (VSCode) is a cross-platform, free and open-source (licensed under the MIT License) text editor developed by Microsoft and written in JavaScript and TypeScript. It is built on the Electron framework and is extensible using extensions, which can be browsed from within the text editor itself (via its extension gallery) or from https://marketplace.visualstudio.com/VSCode. While open-source, a proprietary build (licensed under an End-User License Agreement) provided by Microsoft is available and used as the basis for the visual-studio-codeAUR AUR package.

## Installation

The following packages provide VSCode:

- visual-studio-codeAUR
- visual-studio-code-ossAUR
- visual-studio-code-gitAUR
- code-oss from the unofficial pkgbuild-current repository. Further details can be found in its README here.
  Note: Bugs regarding binary packages from the pkgbuild-current repository can be reported on GitHub. Bugs regarding Visual Studio Code itself should be reported upstream.

## Usage

Run `code`.

If for any reason you wish to launch multiple instances of Visual Studio Code, the `-n` flag can be used.

## Configuration

Visual Studio Code settings are stored in `~/.config/Code/User/settings.json`.

### Integrated Terminal

`View > Integrated Terminal` or `Ctrl + `` opens up an integrated terminal. By default, Bash is used with no additional arguments, although this can be changed. `terminal.integrated.shell.linux` sets the default shell to be used and `terminal.integrated.shellArgs.linux` sets the arguments to be passed to the shell.

Example:

    ~/.config/Code/User/settings.json

    "terminal.integrated.shell.linux": "/usr/bin/fish",
    "terminal.integrated.shellArgs.linux": ["-l","-d 3"]

Categories:

- Development
- Text editors