File Template

All classes for Jade should be written using the following template as a start point. This template constains the standard regions and structure for a Jade class.

JadeClass.zip

To install the template, copy it into X:X\My Documents\Visual Studio 2005\Templates\ItemTemplates where X:X is your path to the My Documents folder (usually C:\Documents and Settings\Username).

Formatting Options

All code files should be formatted using Visual Studio options (Edit->Advanced->Format Document Ctrl E, Ctrl D). The Visual Studio formatter should be configured as the following screenshots show (Tools->Options->Text Editor->C#).

Tabs

options_tabs.png

Formatting->Indentation

options_indentation.png

Formatting->New Lines

options_newlines.png

Formatting->Spacing 1

options_spacing1.png

Formatting->Spacing 2

options_spacing2.png

Formatting->Spacing 3

options_spacing3.png

Formatting->Spacing 4

options_spacing4.png

Formatting->Wrapping

options_wrapping.png

Last edited Nov 19, 2006 at 9:36 PM by Vicente, version 7

Comments

No comments yet.