[Feature Request] Create a Zed extension with VS Code extension feature parity

Open
#478 1 comment 6 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by locating the existing VS Code extension and use it as the reference for the requested Zed extension. Map each listed feature to its implementation and identify which Zed extension capabilities and tests would cover it. Done means delivering the listed .env and .env.schema features with parity to the VS Code extension; this is broad design and implementation work.

Written by the indexing model from the issue text.

Description

Description

Request to create a Zed editor extension that provides feature parity with the existing VS Code extension (@env-spec).

Motivation

Zed is an increasingly popular code editor, and many developers use it for working with .env files and environment variables. Having a native Zed extension would provide a better experience for Zed users.

Features to Implement

The Zed extension should include all features from the VS Code extension:

  1. Syntax Highlighting - Proper syntax highlighting for .env files and .env.schema files
  2. Comment Continuation - Smart comment continuation behavior
  3. Toggle Comment - Ability to toggle comments on/off
  4. Hover Info - Show hover information for variables
  5. IntelliSense/Autocomplete:
    • Decorators autocomplete
    • Type suggestions
    • Variable resolvers
    • Enum value suggestions
  6. Inline Diagnostics - Show inline diagnostic errors for schema validation
  7. Variable Resolution - Support for variable interpolation and references
Additional Information

The VS Code extension serves as the reference implementation. A Zed extension would follow the same patterns and provide the same level of functionality for Zed users.

Dominant language
TypeScript
Stars
4.9k
Forks
140
Avg merge
2d 3h
Merged PRs (30d)
35

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dmno-dev/varlock

All issues in dmno-dev/varlock

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.