Predefined File Templates for VB.NET
This topic lists all predefined file templates for VB.NET in JetBrains Rider 2024.1. For more information about file templates, refer to 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 to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the 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 to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the 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 to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the 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 to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the 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 to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the default namespace for the current file
END - The caret position after the template is applied.
|
MSTest Test Class
| MSTest Test Class Scope VB.NET projects, MSTest Test Project Body Namespace $NAMESPACE$
<Microsoft.VisualStudio.TestTools.UnitTesting.TestClass>
Public Class $CLASS$
$END$
End Class
End Namespace
Parameters CLASS - Evaluates to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the default namespace for the current file
END - The caret position after the template is applied.
|
NUnit 3x Test Fixture
| NUnit 3x Test Fixture Scope VB.NET projects, NUnit 3x Test Project Body Namespace $NAMESPACE$
<NUnit.Framework.TestFixture>
Public Class $CLASS$
$END$
End Class
End Namespace
Parameters CLASS - Evaluates to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the default namespace for the current file
END - The caret position after the template is applied.
|
NUnit 2x Test Fixture
| NUnit 2x Test Fixture Scope VB.NET projects, NUnit 2x Test Project Body Namespace $NAMESPACE$
<NUnit.Framework.TestFixture>
Public Class $CLASS$
$END$
End Class
End Namespace
Parameters CLASS - Evaluates to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the default namespace for the current file
END - The caret position after the template is applied.
|
xUnit Test Class
| xUnit Test Class Scope VB.NET projects, xUnit Test Project Body Namespace $NAMESPACE$
Public Class $CLASS$
$END$
End Class
End Namespace
Parameters CLASS - Evaluates to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the default namespace for the current file
END - The caret position after the template is applied.
|
Last modified: 11 April 2024