git/contrib/vscode
Johannes Schindelin dee338236b vscode: hard-code a couple defines
Sadly, we do not get all of the definitions via ALL_CFLAGS. Some defines
are passed to GCC *only* when compiling specific files, such as git.o.

Let's just hard-code them into the script for the time being.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-07-30 13:14:38 -07:00
..
.gitattributes contrib: add a script to initialize VS Code configuration 2018-07-30 13:14:38 -07:00
init.sh vscode: hard-code a couple defines 2018-07-30 13:14:38 -07:00
README.md contrib: add a script to initialize VS Code configuration 2018-07-30 13:14:38 -07:00

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.