csharp-snippet-productivity icon indicating copy to clipboard operation
csharp-snippet-productivity copied to clipboard

[Feature request] Solution folder

Open BachiMjavanadze opened this issue 3 years ago • 2 comments

I want to suggest you to add Solution folder in your extension.

image

You need to do 2 things: hide some folders and files and enable file nesting.

  1. Hide files. Into settings.json:

"files.exclude": { ".vscode": true, "*/**/bin": true, "*/**/obj": true, "*.sln": true, }

  1. File nesting. into your settings.json:

"explorer.fileNesting.patterns": { "*": "${basename}.*.${extname}" }

image

all file nesting patterns: https://github.com/antfu/vscode-file-nesting-config

C# commands (C# Toolbox: Options) should be moved into Solution folder:

image

also it would be better if Solution folder will have Studio Icons.

how to nest all projects into *.sln and how to nest projects into *.csproj I dont know but if you can do it then calling *.sln and *.csproj files should be made by context menu (like in vscode-solution-explorer):

image

BachiMjavanadze avatar Jul 03 '22 19:07 BachiMjavanadze

Hi @BachiMjavanadze This is a very good suggestion. I am still thinking If I create a specific tree structure for this feature or just add a branch extension to the current tree. I will be implementing shortly and you will be advised once I release the solution.

Thanks for the request.

rsaz avatar Jul 25 '22 00:07 rsaz

The 'Add Project' functions fails anyway on the Mac, so it might be worthwhile exploring creating both the solution files (in the root solution folder) and the initial projects (in subfolders).

Justin-Lottostar avatar Jul 17 '24 05:07 Justin-Lottostar