Skip to content

Add Zed support to setup CLI#743

Open
WaryaWayne wants to merge 4 commits into
Effect-TS:mainfrom
WaryaWayne:main
Open

Add Zed support to setup CLI#743
WaryaWayne wants to merge 4 commits into
Effect-TS:mainfrom
WaryaWayne:main

Conversation

@WaryaWayne

Copy link
Copy Markdown

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Description

Adds Zed support to effect-language-service setup.

When Zed is selected in the setup flow, the CLI now creates or updates .zed/settings.json so Zed uses vtsls with workspace TypeScript plugin loading enabled. Existing Zed settings are preserved while missing languages.TSX, languages.TypeScript, and lsp.vtsls.settings fields are added as needed.

This also updates the setup review output for newly created editor settings files, adds Zed setup tests and snapshots for both Effect v3 and v4 harnesses, and documents the recommended Zed configuration in the README.

show_edit_predictions is intentionally not configured.

Validation run:

EFFECT_HARNESS_VERSION=v3 pnpm --filter @effect/language-service test -- test/setup-cli.test.ts
EFFECT_HARNESS_VERSION=v4 pnpm --filter @effect/language-service test -- test/setup-cli.test.ts

Related

  • Related Issue #
  • Closes #

Implement automatic generation and updating of `.zed/settings.json` to
configure vtsls and local workspace TypeScript plugins.
- Introduce `.zed/settings.json` handling in setup and configuration
  CLI.
- Update test harnesses to support Zed settings verification.
@changeset-bot

changeset-bot Bot commented May 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d3b2651

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@WaryaWayne

WaryaWayne commented May 26, 2026

Copy link
Copy Markdown
Author

this adds zed ide support where we tell the vtsls language server to use the patched node_modules version of typescript. I can make some more changes. Let me know. I tested it locally and it writes the .zed settings file. The rest of the process is the same. I can make some changes if you need. I did not include a changelog. I can add one as well. Let me know. thank you

@WaryaWayne

Copy link
Copy Markdown
Author

Hey following up here if there's anyone who saw this

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