Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>.NET ConvenienceNew to Visual Studio Code? Get it now.
.NET Convenience

.NET Convenience

Johnny Sánchez

| (0) | Free
| Sponsor
VS Code shortcuts for .NET: conventional files, controllers, cross-project references, and new projects in the solution (complements C# Dev Kit).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

.NET Convenience

Extension for Visual Studio Code and Cursor that adds shortcuts for common .NET workflows (complements C# Dev Kit and the SDK).

Repository: github.com/t1gr3ju4nmx/DotNet_convenience

Donate (PayPal — SIPTecMX): https://paypal.me/SIPTecMX

UI strings follow your editor language: English by default, Spanish when the display language is es (see package.nls.* and l10n/bundle.l10n.*).


English

Screenshots

Paths are relative to the package so they load on the extension page when installing from a VSIX.

Command Palette with .NET prefix

Explorer context menu

Requirements

  • .NET SDK installed and on your PATH.
  • Node.js only if you compile or package the extension from source.

Commands (palette: Cmd+Shift+P / Ctrl+Shift+P)

Search for the .NET: prefix.

Command Short description
Add C# class Creates a .cs with inferred namespace.
Add C# interface Creates an interface in the project namespace.
Add Razor component Creates a .razor with @namespace.
Add Razor page with @page Creates a page with a configurable route.
Add controller (API or MVC) Web API (ControllerBase) or MVC (Controller).
Add project reference Runs dotnet add … reference ….
New project in solution dotnet new and dotnet sln add.

There are also entries in the file explorer context menu (folders and .cs / .razor files).

Development

git clone https://github.com/t1gr3ju4nmx/DotNet_convenience.git
cd DotNet_convenience
npm install
npm run compile

Package as .vsix:

npx @vscode/vsce package

Install in Cursor/VS Code:

cursor --install-extension dotnet-convenience-0.2.6.vsix
# or: code --install-extension …

If you previously installed a build with publisher local, uninstall the duplicate (different extension id):

cursor --uninstall-extension local.dotnet-convenience

(Adjust the .vsix filename to the current package.json version.)

Contributing

  • Issues: bugs and ideas.
  • Pull requests: fork the repo, branch your change, and open a PR against main (or the repo default branch).

Donations

Same link as above: paypal.me/SIPTecMX

License

MIT — see LICENSE in this folder.


Español

Extensión para Visual Studio Code y Cursor que añade atajos para flujos habituales de .NET (complementa C# Dev Kit y el SDK).

Repositorio: github.com/t1gr3ju4nmx/DotNet_convenience

Donar (PayPal — SIPTecMX): https://paypal.me/SIPTecMX

(En instalaciones por .vsix, Cursor/VS Code a veces no muestra el botón “Sponsor” del package.json; el enlace de arriba es el que siempre funciona.)

Los textos de la interfaz respetan el idioma del editor: inglés por defecto y español con idioma de visualización es.

Capturas

Las rutas son relativas al paquete para que carguen en la ficha de la extensión al instalar desde VSIX.

Paleta de comandos con prefijo .NET

Menú contextual en el explorador

Requisitos

  • .NET SDK instalado y en el PATH.
  • Node.js solo si vas a compilar o empaquetar la extensión desde el código fuente.

Comandos (paleta: Cmd+Shift+P / Ctrl+Shift+P)

Busca el prefijo .NET:.

Comando Descripción breve
Agregar clase C# Crea un .cs con namespace inferido.
Agregar interfaz C# Crea una interfaz en el namespace del proyecto.
Agregar componente Razor Crea un .razor con @namespace.
Agregar página Razor con @page Crea una página con ruta configurable.
Agregar controller (API o MVC) Web API (ControllerBase) o MVC (Controller).
Agregar referencia a otro proyecto Ejecuta dotnet add … reference ….
Nuevo proyecto en la solución dotnet new y dotnet sln add.

También hay entradas en el menú contextual del explorador de archivos (carpetas y archivos .cs / .razor).

Desarrollo

git clone https://github.com/t1gr3ju4nmx/DotNet_convenience.git
cd DotNet_convenience
npm install
npm run compile

Empaquetar como .vsix:

npx @vscode/vsce package

Instalar en Cursor/VS Code:

cursor --install-extension dotnet-convenience-0.2.6.vsix
# o: code --install-extension …

Si antes instalaste la versión con publisher local, desinstala el duplicado (es otro id de extensión):

cursor --uninstall-extension local.dotnet-convenience

(Ajusta el nombre del archivo .vsix a la versión actual del package.json.)

Colaboración

  • Issues: problemas y ideas.
  • Pull requests: bifurca el repo, crea una rama con tu cambio y abre un PR contra main (o la rama por defecto del repo).

Donaciones

Mismo enlace que arriba: paypal.me/SIPTecMX

Licencia

MIT — ver LICENSE en esta carpeta.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft