Skip to content

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

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

fengmk2 merged 7 commits into
voidzero-dev:mainfrom
xingwangzhe:main

Conversation

@xingwangzhe

@xingwangzhe xingwangzhe commented Mar 13, 2026 •

Copy link
Copy Markdown
Contributor

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

#826

@netlify

netlify Bot commented Mar 13, 2026 •

Copy link
Copy Markdown

✅ 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
Copy Markdown
Contributor Author

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread packages/cli/src/utils/editor.ts Resolved
Comment thread packages/cli/src/utils/editor.ts Resolved
Comment thread packages/cli/src/utils/editor.ts Resolved
@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 done

@fengmk2 fengmk2 left a comment

Copy link
Copy Markdown
Member

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
Comment thread packages/cli/src/utils/editor.ts Resolved
@naokihaba naokihaba mentioned this pull request Apr 22, 2026
3 tasks done
fengmk2 added a commit that referenced this pull request Jun 21, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 22, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 23, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 24, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 24, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 25, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 25, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 25, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 26, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 26, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 27, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
fengmk2 added a commit that referenced this pull request Jun 27, 2026
…ules

Reflect the validated design after the urllib (#832-834) and snap-test
findings:
- vite-plus declares vitest as a dependency, so vitest is provided
  transitively; by default the migration removes any project-level vitest
  instead of pinning it.
- Exception: keep a managed vitest (devDep + override) when a non-exact
  vitest peer must be collapsed (third-party vitest-browser-*, browser mode,
  or a direct vitest source import), verified by migration-vitest-peer-dep.
- Align every official @vitest/* (exact peer) to the bundled version; add a
  verified ecosystem table; exclude @vitest/eslint-plugin.

Also lead with the two-command upgrade UX (vp upgrade && vp migrate), present
the rules as a table, drop the resolved open questions, and rename the file
to migrate-existing-projects.md with a clearer title.
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

4 participants