Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jthomasmock opened this issue Sep 22, 2023 · 2 comments
Labels
area: ui Issues related to UI category.
Milestone

Comments

@jthomasmock
Copy link
Contributor

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: microsoft/vscode#107521

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

@jthomasmock
Copy link
Contributor Author

It looks like future versions of Python may also add a .gitignore file to Venv: python/cpython#108125

@jthomasmock
Copy link
Contributor Author

uv venv does this by default 🚀 which is really nice!

They add a gitignore with * inside of the .venv folder.

@jthomasmock jthomasmock added this to the Future milestone Feb 21, 2024
@wesm wesm added the area: ui Issues related to UI category. label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ui Issues related to UI category.
Projects
None yet
Development

No branches or pull requests

2 participants