Skip to content

feat(cli): add Zed editor support for project creation#832

Merged
fengmk2 merged 7 commits intovoidzero-dev:mainfrom
xingwangzhe:main
Mar 14, 2026
Merged

feat(cli): add Zed editor support for project creation#832
fengmk2 merged 7 commits intovoidzero-dev:mainfrom
xingwangzhe:main

Conversation

@xingwangzhe
Copy link
Contributor

@xingwangzhe xingwangzhe commented Mar 13, 2026

The .zed/settings.json is from oxc-project/oxc-zed with some modifications,like ` configPath: './ox(fmt|lint).jsonc'

#826

@netlify
Copy link

netlify bot commented Mar 13, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 482a880
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69b4e6d24cabb800089e977b

@xingwangzhe
Copy link
Contributor Author

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support in the Vite+ CLI to generate Zed editor configuration during project creation/migration, aligning editor defaults with the existing VSCode support.

Changes:

  • Add a ZED_SETTINGS template for .zed/settings.json (oxlint + oxfmt LSP + per-language formatting settings).
  • Register a new zed entry in EDITORS so the CLI can write .zed/settings.json.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

xingwangzhe and others added 3 commits March 13, 2026 21:23
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 王兴家 <xingwangzhe@outlook.com>
@fengmk2 fengmk2 requested a review from leaysgur March 13, 2026 13:54
@fengmk2 fengmk2 linked an issue Mar 14, 2026 that may be closed by this pull request
3 tasks
Copy link
Member

@fengmk2 fengmk2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing to open source!

@fengmk2 fengmk2 merged commit 4ef351b into voidzero-dev:main Mar 14, 2026
21 checks passed
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.

Support editor setting for Zed

3 participants