posit-dev / posit-dev/positron

Provide option to automatically add specific directories/files to .gitignore

Open
#1,372 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: ui
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Positron Version: 2023.09.0 (Universal) build 203

Steps to reproduce the issue:

  1. Create a folder and add a virtual environment
  2. Initialize a git repo from source control menu
  3. Get warning that there are too many files since the entirety of the venv is included and not automatically git ignored.

What did you expect to happen?

I would like to be able to ignore specific files/directories by default or right-click to ignore that directory.

There was an ignored? feature request for this: https://github.com/microsoft/vscode/issues/107521

Were there any error messages in the output or Developer Tools console?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the virtual-environment warning from the issue steps and review the linked VS Code feature request. Start by tracing the source-control initialization flow; done should clearly establish whether default directory/file ignores, a right-click ignore action, or both are supported and verify that the selected virtual environment is excluded.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.