Layouts

Several layouts are provided in the default install. Depending on your requirements, some layouts may be more useful than others. The primary differences are line wrapping and clip board copying.

The default layout is the table layout as this is generally considered to be the best compromise.

Layouts can be used to add advanced features to jQuery.Syntax such as unit test code coverage, code execution or built-in documentation.

Plain Layout

/* This is a very long comment. This comment may be wrapped in some layouts, but not in others. Wrapping long lines may or may not be desirable, and also has other implications when dealing with HTML. */

int theMeaningOfLife () {
	return 4 * 2;
}

int main (int argc, char ** argv) {
	return theMeaningOfLife();
}

Table Layout

/* This is a very long comment. This comment may be wrapped in some layouts, but not in others. Wrapping long lines may or may not be desirable, and also has other implications when dealing with HTML. */

int theMeaningOfLife () {
	return 4 * 2;
}

int main (int argc, char ** argv) {
	return theMeaningOfLife();
}

Fixed Layout

/* This is a very long comment. This comment may be wrapped in some layouts, but not in others. Wrapping long lines may or may not be desirable, and also has other implications when dealing with HTML. */

int theMeaningOfLife () {
	return 4 * 2;
}

int main (int argc, char ** argv) {
	return theMeaningOfLife();
}

List Layout

/* This is a very long comment. This comment may be wrapped in some layouts, but not in others. Wrapping long lines may or may not be desirable, and also has other implications when dealing with HTML. */

int theMeaningOfLife () {
	return 4 * 2;
}

int main (int argc, char ** argv) {
	return theMeaningOfLife();
}