Rider Help

Predefined File Templates for TypeScript

This topic lists all predefined file templates for TypeScript in Rider 2017.1. For more information about file templates, see Creating Files from Templates

TemplateDetails
TypeScript Class

TypeScript Class

Scope Projects with TypeScript

Body

class $CLASS$ {$END$}

Parameters

  • CLASS - Evaluates current file name without extension with all non-alphanumeric replaced with underscores (getAlphaNumericFileNameWithoutExtension)
  • END - The caret position after the template is applied.
TypeScript Empty File

TypeScript Empty File

Scope Projects with TypeScript

Body

$END$

Parameters

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

TSX Empty File

Scope Projects with TypeScript

Body

$END$

Parameters

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

TypeScript Interface

Scope Projects with TypeScript

Body

interface $IFACE$ {$END$}

Parameters

  • IFACE - Evaluates current file name without extension with all non-alphanumeric replaced with underscores (getAlphaNumericFileNameWithoutExtension)
  • END - The caret position after the template is applied.
TypeScript Module

TypeScript Module

Scope Projects with TypeScript

Body

module $MODULE$ {$END$}

Parameters

  • MODULE - Evaluates current file name without extension with all non-alphanumeric replaced with underscores (getAlphaNumericFileNameWithoutExtension)
  • END - The caret position after the template is applied.
Last modified: 11 October 2017