

For example, you can toggle IntelliSense completion mode, increase or decrease a line indent, or comment out code that you don't want to compile. The toolbar, which is the row of buttons under the menu bar in Visual Studio, can help make you more productive as you code. For Visual Basic, code snippets are available for the following categories:

You can look at the available code snippets for Visual Basic by opening the right-click or context menu in the code editor and choosing Snippet > Insert Snippet (or press Ctrl+ K, Ctrl+ X). The available code snippets vary for different programming languages. The outline for the Sub procedure MySub() is added to the file. Press Tab twice to insert the code snippet. Place your cursor above the line that says End Class, and type sub.Ī pop-up dialog box appears with information about the Sub keyword and how to insert the Sub code snippet.
