JetBrains Rider 2021.1 Help

Predefined File Templates for VB.NET

This topic lists all predefined file templates for VB.NET in JetBrains Rider 2021.1. For more information about file templates, see Create Files from Templates

TemplateDetails
Class

Create a new file in the current project containing an empty VB.NET Class.

Scope VB.NET projects

Body

Public Class $CLASS$ $END$ End Class

Parameters

  • CLASS- Evaluates current file name without extension with all non-alphanumeric replaced with underscores

  • NAMESPACE- Gets default namespace for the current file

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

Interface

Create a new file in the current project containing an empty VB.NET Interface.

Scope VB.NET projects

Body

Public Interface $INTERFACE$ $END$ End Interface

Parameters

  • INTERFACE- Evaluates current file name without extension with all non-alphanumeric replaced with underscores

  • NAMESPACE- Gets default namespace for the current file

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

Structure

Create a new file in the current project containing an empty VB.NET Structure.

Scope VB.NET projects

Body

Public Structure $STRUCTURE$ $END$ End Structure

Parameters

  • STRUCTURE- Evaluates current file name without extension with all non-alphanumeric replaced with underscores

  • NAMESPACE- Gets default namespace for the current file

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

Module

Create a new file in the current project containing an empty VB.NET Module.

Scope VB.NET projects

Body

Public Module $MODULE$ $END$ End Module

Parameters

  • MODULE- Evaluates current file name without extension with all non-alphanumeric replaced with underscores

  • NAMESPACE- Gets default namespace for the current file

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

Enum

Create a new file in the current project containing an empty VB.NET Enum.

Scope VB.NET projects

Body

Public Enum $ENUM$ $END$ End Enum

Parameters

  • ENUM- Evaluates current file name without extension with all non-alphanumeric replaced with underscores

  • NAMESPACE- Gets default namespace for the current file

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

Last modified: 12 July 2021