Code Macro

The words bracketed with {code:java} and {/code} are considered java code. They will be displayed in the default color of Eclipse.

The words bracketed with {code:cs} and {/code} are considered C# code. They will be displayed in the default color of VisualC#.NET.

The words bracketed with {code} and {/code} are considered a kind of code. They will be displayed in the general-purpose color.

When you type:

 Java code

package helloworld;

public class Hello {

public String sayHello {

return "Hello";

}

 

Code_Macro.png

 

C# code

{code:cs}

using System;

public class Hello {

public String sayHello {

return "Hello";

}

}

{/code}

 It appears as:

Code_Macro_1_.png 

 Note: Your project will only use Backlog formatting if specified by your administrator under Project Settings. To learn more about this, please read the Formatting Rules.

Was this article helpful?