ReSharper 2022.2 Help

Predefined File Templates for VB.NET

This topic lists all predefined file templates for VB.NET in ReSharper 2022.2. For more information about file templates, see Create files from templates.

Template

Details

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: 03 August 2022