ReSharper 2017.2 Help

Predefined Live Templates for Resx

ReSharper | Templates Explorer | Live Templates | Resx

This topic lists all predefined live templates for Resx in ReSharper 2017.2. For more information about live templates, see Creating Source Code Using Live Templates

TemplateDetails
ctx

Current file context

Scope everywhere

Body

$CTX$

Parameters

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

Insert new GUID

Scope everywhere

Body

$GUID$

Parameters

  • GUID - Generates new Globally Unique Identifier (GUID) (guid)
d

Create resource entry

Scope .resx roots

Body

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

Parameters

  • name - Suggest tag name used in current document (suggestTagName)
  • END - The caret position after the template is applied.

Before expansion

/help/img/dotnet/2017.2/Reference__Options__Templates__Live_Templates__Predefined__Resx__d__before.png

After expansion
/help/img/dotnet/2017.2/Reference__Options__Templates__Live_Templates__Predefined__Resx__d__after.png

Last modified: 20 October 2017