Syntax Highlighting

Syntax highlighting improves the understanding of source code in general. You will recognize code with a blink of an eye and identify variables, methods, method parameters, classes, structs, enums and much more faster than ever, by just knowing it's style.

Highlights are fully customizable in font size, font color, font style(bold, italic, underlined) or the background color. They can have a custom overline or underline, which are fully customizable in color and dash style.

Decorators can be used to emphasize diffferent code elements with similarities, like all static methods, properties or fields.

Area Highlights provide visual indicators about code blocks, like pre­processor statements.

You could use the included light or dark theme or create your own.

Supported Languages: C#, Visual Basic


Enable Highlighting

Available Highlights

Highlights

Highlights are used to emphasize specific code elements according to its meaning or purpose.

  • Namespaces
  • Interfaces
  • Classes
  • Class Constructors
  • Class Deconstructors
  • Structs
  • Struct Constructors
  • Enumerations
  • Enumeration Members
  • Primitve Types
  • Delegates
  • Events
  • Methods
  • Method Parameters
  • Named Method Parameters
  • Properties
  • Type Parameters
  • Fields
  • Variables
  • Comments
  • Numbers
  • Operators
  • Strings
  • Keywords
  • Preprocessor Statements
  • Labels
Decorators

Decorators can be used to emphasize different code elements which have similarities.

  • Internal Statements (Same Assembly)
  • External Statements (Referenced Assembly)
  • Constants
  • Declarations
  • Struct Members
  • Extension Methods
  • Static
  • Virtual
  • Override
  • Internal (Access Modifier)
  • Private (Access Modifier)
  • Protected (Access Modifier)
  • Public (Access Modifier)
Area Highlights

Area Highlights are used to mark code blocks by adjusting its background representation.

  • Constructors
  • Deconstructors
  • Methods
  • Regions
  • Preprocessor Define
  • Preprocessor Error
  • Preprocessor If
  • Preprocessor Line
  • Preprocessor Pragma Warning
  • Preprocessor Pragma Checksum
  • Preprocessor Undefine
  • Preprocessor Warning

Example

In this example you can experience how the syntax highlighting works. The code example below shows the default code highlighting of Visual Studio with the dark theme. By enabling any predefined highlight from the list below you can see it in action.

using System;
using System.Linq;
using System.Collections.Generic;

namespace TestProject.TestNamespace
{
public enum Enumeration
{
EnumMember
}

public class TestClass
{
public Enumeration FieldProperty { get; set; }
public event Action<string> Event;
private Enumeration _field;

public TestClass()
{
Enumeration localVariable = Enumeration.EnumMember;
FieldProperty = localVariable;
_field = (Enumerate)100;
Event += TestMethod;
System.Console.WriteLine("Test");
}

protected static void TestMethod(string methodParameter)
{// comment
string localVariable = methodParameter;
}
}
}
Highlights
Namespaces
Enumeration Members
Class Constructors
Methods
Method Parameters
Properties
Fields
Events
Variables

Decorators
Static
External Statements (Referenced Assembly)

Area Highlights
Constructors
Methods