ReSharper 2024.2 Help

Predefined Live Templates for Resx

This topic lists all predefined live templates for Resx in ReSharper 2024.2. For more information about live templates, refer to Create source code using live templates.

Template

Details

ctx

Current file context

Scope Everywhere

Body

$CTX$

Parameters

  • CTX - Provides a list of items describing current context. This includes file name, containing type name, namespace name, etc.

nguid

Insert new GUID

Scope Everywhere

Body

$GUID$

Parameters

  • GUID - Generates a new Globally Unique Identifier (GUID)

d

Create resource entry

Scope .resx roots

Body

<data name="$name$"> <value>$END$</value> </data>

Parameters

  • name - Suggests a tag name used in the current document

  • END - The caret position after the template is applied.

Before expansion

ReSharper: Live templates

After expansion

ReSharper: Live templates
Last modified: 18 August 2024