microsoft / microsoft/vscode-python-environments

[Python Environments] Environment file pop-up

Đang mở
#1,092 4 bình luận 3 reaction 3 người được giao Xem trên GitHub

@anthonykim1 đang làm issue này rồi.

Từ ngày 13/3/2026.

area-environment feature-request
Ngôn ngữ chính
TypeScript
Star
138
Fork
62
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
35

Mô tả

Type: Feature Request

Every time a .env file is created/edited anywhere in the workspace, and python.terminal.useEnvFile is false, a pop-up comes up explaining that environment injection is disabled. It would be good if this prompt had a "Don't show again" button, as it can happen quite frequently.

Image
Environment Information
Extension Version: 1.16.0
Python Extension Version: 2026.0.0

Registered Environment Managers (3):
  - ms-python.python:system (Global)
  - ms-python.python:venv (venv)
  - ms-python.python:pipenv (Pipenv)

Total Available Environments: 4
Environment Details:
  1. Python 3.14.0 (3.14.0.final.0) - /usr/local/bin/python
  2. Python 3.13.5 (3.13.5.final.0) - /bin/python3
  3. Python 3.13.5 (3.13.5.final.0) - /usr/bin/python3
  4. my-project (3.14.0) (3.14.0.final.0) - /workspaces/my-project/.venv/bin/python

Python Projects (1):
  1. /workspaces/my-project
     Environment: my-project (3.14.0)

Extension Settings:
  Default Environment Manager: ms-python.python:venv
  Default Package Manager: ms-python.python:pip
Auto-activation is "shellStartup". Activation based on first 'py-env.terminal.autoActivationType' setting which is 'shellStartup' and 'python.terminal.activateEnvironment' if the first is undefined which is 'true'.

Extension version: 1.16.0
VS Code version: Code 1.108.0 (94e8ae2b28cb5cc932b86e1070569c4463565c37, 2026-01-08T13:53:10.781Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.