microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
234 stars 13 forks source link

[SUGGESTION] I would like to be able to build a current project for an opened editor #1567

Open NikiforovAll opened 1 month ago

NikiforovAll commented 1 month ago

Describe the feature you'd like

I would like to build a current project using a shortcut or another option.

It could be like a build task to automatically build a project corresponding to an opened file (aka "currently" selected project)

Motivation

It is faster to build a separate project for a large code base than doing a complete rebuild every time you make a change. There is an option to build from Solution Explorer but you need to do a bunch of clicks and use a mouse and I would like to avoid it

Alternatives considered

We already have a currently opened project in "Status Bar" and when you click it, it opens the file in "Solution Explorer", maybe we can extend it