Skip to content

Add a context-menu submenu to add template items #3165

@fallborker

Description

@fallborker

Describe the feature you'd like

Hey!
I dont know if this has been requested before, but:

In the old Solution Explorer view, we had an option to add specific items to the project (Class, Struct, Interface, etc...). It would be nice to add a "Add... >" submenu to the context-menu when right-clickling a folder on your workspace (if a project or solution is currently identified) - Kinda like what VS2022 does.

Would also be nice to allow for extensions to modify said submenu to add their own templates.

Best regards,
Fallbork

Alternatives considered

Currently we have to manually add files, type in the namespace, and the entire boilerplate code. Breaks the workflow...

Environment Information

OS Information:

Operating System: Fedora Linux 44
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 7.0.10-201.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-9300H CPU @ 2.40GHz
Memory: 16 GiB of RAM (15,4 GiB usable)
Graphics Processor 1: Intel® UHD Graphics 630
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: Dell Inc.
Product Name: G3 3590

VSCode Information:

Version: 1.114.0
Commit: e7fb5e96c0730b9deb70b33781f98e2f35975036
Date: 2026-04-01T09:27:11Z
Electron: 39.8.3
ElectronBuildId: 13658728
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0

Extension Information

Name: C# Dev Kit
Id: ms-dotnettools.csdevkit
Description: Official C# extension from Microsoft
Version: 3.20.199
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-templatesExperiences around the project/item templatesenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions