All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

HardMarker

Drops a red triangle marker in code when a template is expanded.

Drop Template

Refer to the Drop Marker in Templates section of the Marker Settings topic to learn how to insert the "HardMarker" text command into a template expansion code.

You can pass an optional integer parameter to the "HardMarker" command. This parameter specifies the time (in seconds) after which CodeRush deletes the marker from code.

«HardMarker([lifetime])»

Position Parameter
1 Lifetime (optional)

The following screencast shows how the "HardMarker(3)" command removes a marker in three seconds after the "mb" template is expanded in code.

Select