Public documentation for Visual Studio Code
Перейти к файлу
gregvanl 1ad5f9f4a5 Remove empty placeholder topics 2021-10-07 20:51:06 -04:00
.devcontainer Add userEnvProbe, indicate what works in Codespaces 2020-09-11 06:53:01 -07:00
.vscode Disable prettier formatting on markdown files 2020-11-01 19:45:19 -08:00
api Remove empty placeholder topics 2021-10-07 20:51:06 -04:00
blogs Use Visual Studio Code on first mention and page title 2021-09-29 08:18:37 -04:00
build Update 1.61 macOS keybindings 2021-10-04 20:47:57 -04:00
docs Merge branch 'main' of https://github.com/microsoft/vscode-docs 2021-10-07 17:03:10 -07:00
images Update README image 2019-06-05 12:54:24 -07:00
learn Remove empty placeholder topics 2021-10-07 20:51:06 -04:00
release-notes Updated with recording of livestream 2021-10-07 16:04:46 -07:00
remote/advancedcontainers Update DateApproved 2021-10-07 15:27:05 -04:00
remote-release-notes Small edits 2021-10-07 10:54:11 -04:00
wiki/images Commit LFS 2019-03-11 13:57:10 -07:00
.editorconfig Commit LFS 2019-03-11 13:57:10 -07:00
.gitattributes Add section on using env vars to mount your home folder 2019-05-14 07:40:21 -07:00
.gitignore Commit LFS 2019-03-11 13:57:10 -07:00
.huskyrc.json Bump husky to v4 2021-05-07 08:44:55 -07:00
CONTRIBUTING.md fixed typo 2021-10-01 10:54:19 -04:00
LICENSE.md Commit LFS 2019-03-11 13:57:10 -07:00
README.md Changed minor typos 2021-10-01 10:53:19 -04:00
azure-pipelines.yml remove fetch depth 1 2021-09-07 09:15:23 -07:00
gulpfile.js Remove tas-client 2020-12-01 15:32:29 -08:00
package.json Resolve glob-parent 2021-06-11 08:28:18 -07:00
yarn.lock Resolve glob-parent 2021-06-11 08:28:18 -07:00

README.md

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.

Topics submitted here will be published to the Visual Studio Code portal.

If you are looking for the VS Code product GitHub repository, you can find it here.

Note: The vscode-docs repository uses Git LFS (Large File Storage) for storing binary files such as images and .gifs. If you are contributing or updating images, please enable Git LFS per the instructions in the Contributing section below.

Index

Visual Studio Code

VS Code is a lightweight source code editor and powerful development environment for building and debugging modern web, mobile, 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 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. 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.

Contributing

To contribute new topics/information or make changes to existing documentation, please read the Contributing Guideline.

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 the repo to edit and preview the files directly in VS Code.

Markdown Preview Button

Cloning

  1. Install Git LFS.
  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.
  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.
    • macOS / Linux: GIT_LFS_SKIP_SMUDGE=1 git clone git@github.com:Microsoft/vscode-docs.git.
    • 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" to only download images in docs/nodejs
    • git lfs pull -I "release-notes/images/1_4*/*" to only download images in release-notes/images/1_4*
    • git lfs pull -I "docs,api" to download all images in docs and in api
    • git lfs pull -I <PATTERN>, as long as <PATTERN> is a valid Git LFS Include and Exclude pattern.

The history of this repo before we adopted LFS can be found at microsoft/vscode-docs-archive.

Publishing

Steps for how to publish documentation changes can be found here in the (private) repository of the VS Code website.