microsoft / microsoft/vscode-dotnettools
[SUGGESTION] C# Dev Kit - Add appropriate .gitignore for proper Git initialization
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 321
- Forks
- 54
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Description
Describe the feature you'd like
During a fresh Solution creation, by creating a first Project, there is no "Option" for setting up Git which is understandable since the Initialize Button exists in the Source Control of Visual Studio Code. Either in the initial Solution creation or a hook to the Initialize Button of Source Control, it would be good to inject a reasonable .gitignore file such as at: https://github.com/github/gitignore/blob/main/VisualStudio.gitignore so the first check in after a build doesn't bring a number of unwanted Derived Objects into the Source Repo, getting rid of them after the fact can be a challenge.
Alternatives considered
I currently manually pull down a .gitignore or at least manually enter:
.vs/
.vscode/*
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
Environment Information
- OS Mac 14.1.1
- VSCode 1.48.2
- C# Dev Kit 1.0.14
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing fresh Solution creation and the Source Control Initialize button in the C# Dev Kit and VS Code integration. Compare the requested VisualStudio.gitignore entries with the existing project-generation flow; done means a new solution can initialize Git with a suitable .gitignore before build artifacts are committed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100