Skip to content

Add Zed editor to Global gitignore templates#4815

Open
mvanhorn wants to merge 1 commit intogithub:mainfrom
mvanhorn:osc/zed-gitignore
Open

Add Zed editor to Global gitignore templates#4815
mvanhorn wants to merge 1 commit intogithub:mainfrom
mvanhorn:osc/zed-gitignore

Conversation

@mvanhorn
Copy link

Reasons for making this change

The Zed editor (56k+ GitHub stars) creates a .zed/ directory in project roots for project-specific settings. This mirrors VS Code's .vscode/ directory - some files are shared team config, others are user-specific.

The Global/ directory has templates for 20+ editors (VS Code, Cursor, JetBrains, Vim, Emacs, Sublime Text, etc.) but is missing Zed. This template follows the same ignore-all, whitelist-shared pattern used by the existing VS Code template.

Whitelisted files:

  • .zed/settings.json - project settings (formatter, language server config, tab size)
  • .zed/tasks.json - project task definitions
  • .zed/debug.json - project debug configurations

These are team-shareable project config. Everything else in .zed/ is ignored by default to catch any future user-specific state files.

Links to documentation supporting these rule changes

If this is a new template

Link to application or project's homepage: https://zed.dev/

Merge and Approval Steps

  • Confirm that you've read the contribution guidelines and ensured your PR aligns
  • Ensure CI is passing
  • Get a review and Approval from one of the maintainers

This contribution was developed with AI assistance (Claude Code).

@mvanhorn mvanhorn requested a review from a team as a code owner March 17, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant