mirror of
https://github.com/git/git.git
synced 2024-11-24 18:33:43 +08:00
54c06c6013
VS Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. Among other languages, it has support for C/C++ via an extension, which offers to not only build and debug the code, but also Intellisense, i.e. code-aware completion and similar niceties. This patch adds a script that helps set up the environment to work effectively with VS Code: simply run the Unix shell script contrib/vscode/init.sh, which creates the relevant files, and open the top level folder of Git's source code in VS Code. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
772 B
772 B
Configuration for VS Code
VS Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. Among other languages, it has support for C/C++ via an extension.
To start developing Git with VS Code, simply run the Unix shell script called
init.sh
in this directory, which creates the configuration files in
.vscode/
that VS Code consumes. init.sh
needs access to make
and gcc
,
so run the script in a Git SDK shell if you are using Windows.