From: Derek S. Ray Date: Sat, 9 May 2015 19:13:00 +0000 (-0400) Subject: Add token Visual Studio section X-Git-Tag: NetHack-3.6.0_RC01~404 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c429dc872204da382431149a46578eded57e5d4f;p=nethack Add token Visual Studio section --- diff --git a/DEVEL/code_style.txt b/DEVEL/code_style.txt index 8213451d7..7004a8640 100644 --- a/DEVEL/code_style.txt +++ b/DEVEL/code_style.txt @@ -159,3 +159,23 @@ ensure that indentation is done correctly: set textwidth=78 set cindent set filetype=c + + +Visual Studio Configuration +=========================== + +In Visual Studio under Tools->Options->Text Editor->C/C++, you can set the +following options to obtain desired behavior: + +[Tabs] +Indenting: Smart +Tab size: 4 +Indent size: 4 +Insert Spaces + +There are a number of other options under [Formatting] that should be +checked (Indentation, New Lines, Spacing, and Wrapping), but there are so +many entries that reproducing them here is impractical. Fortunately, the +options are in plain English, so walking through them with a copy of +this Guide handy and making changes as required will suffice. +