vscode logo

Visual Studio Code Documentation

You've found the Visual Studio Code documentation GitHub repository, which contains the content for the [Visual Studio Code documentation](https://code.visualstudio.com/docs). Topics submitted here will be published to the [Visual Studio Code](https://code.visualstudio.com) portal. If you are looking for the VS Code product GitHub repository, you can find it [here](https://github.com/Microsoft/vscode). ## Index 1. [About Visual Studio Code](#visual-studio-code) 2. [Feedback](#feedback) 3. [Documentation Issues](#documentation-issues) 4. [Contributing to the documentation](#contributing) 5. [Publishing](#publishing) ## Visual Studio Code [VS Code](https://code.visualstudio.com/) is a lightweight source code editor and powerful development environment for building and debugging modern web and cloud applications. It is free and available on your favorite platform - Linux, macOS, and Windows. If you landed here looking for other information about VS Code, head over to [our website](https://code.visualstudio.com) for additional information. ## Feedback If you want to give documentation feedback, please use the feedback control located at the bottom of each documentation page. ## Documentation Issues To enter documentation bugs, please create a [new GitHub issue](https://github.com/Microsoft/vscode-docs/issues). Please check if there is an existing issue first. If you think the issue is with the VS Code product itself, please enter issues in the VS Code product repo [here](https://github.com/Microsoft/vscode/issues). ## Contributing To contribute with new topics / information or make changes to existing documentation, please read the [Contributing Guideline](./CONTRIBUTING.md#contributing). ### Workflow The two suggested workflows are: - For small changes, use the "Edit" button on each page to edit the Markdown file directly on GitHub. - If you plan to make significant changes or preview the Markdown files in VS Code, [clone](#cloning) the repo to [edit and preview](https://code.visualstudio.com/docs/languages/markdown) the files directly in VS Code. ![Markdown Preview Button](images/MDPreviewButton.png) ### Cloning 1. Install [Git LFS](https://git-lfs.github.com/). 2. Run `git lfs install` to setup global git hooks. You only need to run this once per machine. 3. `git clone git@github.com:Microsoft/vscode-docs.git`. 4. Now you can `git add` binary files and commit them. They'll be tracked in LFS. #### Cloning without binary files You might want to clone the repo without the 1.6GB images. Here are the steps: 1. Install [Git LFS](https://git-lfs.github.com/). 2. Run `git lfs install` to setup global git hooks. You only need to run this once per machine. 3. Clone the repo without binary files. 3.1. macOS / Linux: `GIT_LFS_SKIP_SMUDGE=1 git clone git@github.com:Microsoft/vscode-docs.git`. 3.2. Windows: `$env:GIT_LFS_SKIP_SMUDGE="1"; git clone git@github.com:Microsoft/vscode-docs.git`. 4. Now you can selectively checkout some binary files to work with. For example: - `git lfs pull -I "docs/nodejs"` - `git lfs pull -I "release-notes/images/1_3*/*"` - You can do `git lfs pull -I `, as long as `` is comma-separated glob strings. For more patterns, see [Git LFS: Include and Exclude](https://github.com/git-lfs/git-lfs/blob/master/docs/man/git-lfs-fetch.1.ronn#include-and-exclude). The history of this repo before we adopted LFS can be found at [microsoft/vscode-docs-archive](https://github.com/Microsoft/vscode-docs-archive). ## Publishing Steps for how to publish documentation changes can be found [here](https://github.com/Microsoft/vscode-website#publishing-a-documentation-change) in the (private) repository of the VS Code website.