I'm currently following some tutorial I bought which refers to 2 options called "New C# class / New C# Interface", while I'm only seeing "New file."
I'm new to VSCODE and installed only C# from OmniSharp.
I'd like to have "New C# class" and "New C# Interface" in this menu as well.
Go to VSCode settings ( CTRL+, or CMD+, ) and search for shortcut menu bar . Toggle buttons from there.
Start Visual Studio Code. In the Open Folder dialog, create a ClassLibraryProjects folder and click Select Folder (Open on macOS). Open the Terminal in Visual Studio Code by selecting View > Terminal from the main menu. The Terminal opens with the command prompt in the ClassLibraryProjects folder.
If you want those options in your right click menu, then you need to install the "C# Extensions" extension from the marketplace.
The link is here
Keep in mind this is just a shortcut extension, it is not actually required.
You can simply choose new file and give it the .cs
extension if you want a new C# file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With