Repository navigation
feat(cli): add Zed editor support for project creation - #832
Merged
Merged
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
Contributor
Author
Contributor
There was a problem hiding this comment.
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_SETTINGStemplate for.zed/settings.json(oxlint + oxfmt LSP + per-language formatting settings). - Register a new
zedentry inEDITORSso the CLI can write.zed/settings.json.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <[email protected]> Signed-off-by: 王兴家 <[email protected]>
3 tasks done
fengmk2
approved these changes
Mar 14, 2026
fengmk2
left a comment
Member
There was a problem hiding this comment.
Thank you for contributing to open source!
fengmk2
reviewed
Mar 14, 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
.zed/settings.jsonis from oxc-project/oxc-zed with some modifications,like ` configPath: './ox(fmt|lint).jsonc'#826