Telerik® JustCode™ by Progress

Telerik® JustCode™ can suggest you to add or remove the "this" keyword in front of a member when appropriate.

Note

Language Support

Supported: C#

Not supported: VB.NET, JavaScript, ASP.NET, XAML, HTML

The behavior can be controlled in JustCode Options - JustCode / Options / Code Analysis / Hints / C#.

When "Show hint for remove redundant 'this.' qualifier" option is checked in the options dialog, then Telerik® JustCode™ suggests you to remove all "this" qualifiers.

  1. Position the caret over a "this" keyword.
  2. Press Alt+Enter. From the pop-up menu, select Remove redundant qualifier.

    Quick Hints remove this
  3. The result is:

    Quick Hints remove this result

When "Show hint for add missing 'this.' qualifier" option is checked in the options dialog, then Telerik® JustCode™ suggests you to add missing "this" qualifiers.

  1. Position the caret over an identifier.
  2. Press Alt+Enter. From the pop-up menu, select Add 'this.' qualifier.

    Quick Hints add this
  3. The result is:

    Quick Hints add this result

See Also