microsoft / microsoft/vscode

Copilot should ignore `.env` files by default

Open
#335,397 0 comments 0 reactions 1 assignee Claimed by @lszomoru View on GitHub
stale triage-needed
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Setting ID: `github.copilot.enable`

In this list, `dotenv` should be present by default with its value set to `false`. Currently, Copilot can read `.env` files and provide inline suggestions for them, including variable values. This is not a good idea, and access to `.env` files should be disabled by default.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.