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>
15 lines
772 B
Markdown
15 lines
772 B
Markdown
Configuration for VS Code
|
|
=========================
|
|
|
|
[VS Code](https://code.visualstudio.com/) is a lightweight but powerful source
|
|
code editor which runs on your desktop and is available for
|
|
[Windows](https://code.visualstudio.com/docs/setup/windows),
|
|
[macOS](https://code.visualstudio.com/docs/setup/mac) and
|
|
[Linux](https://code.visualstudio.com/docs/setup/linux). Among other languages,
|
|
it has [support for C/C++ via an extension](https://github.com/Microsoft/vscode-cpptools).
|
|
|
|
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.
|