Skip to content

Lean 4 - VS Code extension parity #5059

@ofek

Description

@ofek

Check for existing issues

  • Completed

Misc notes

Hello! I noticed that resolving the feature gap would likely require changes to the internals of Zed so I figured opening a tracking issue would be a good first step.

Context

Support for Lean 4 was introduced in PR #2482. The extension uses the official language server and tree-sitter-lean.

Although the extension is well-maintained, one of the remaining todo items is the InfoView (documented here) which is more or less required. Issue #1406 tracking the initial support for Lean 4 had a comment that referenced a discussion on the Lean community's Zulip chat.

From a cursory skim through the comments it looks like strict adherence to the language server protocol makes it impossible to implement such functionality. Apparently, both VS Code and Neovim allow for working around the spec while Zed currently does not.

Coordination

I'm not sure what the next steps here are nor who can detail the current limitations based on the technical summary from the aforementioned discussion. The following is a list of folks who were previously involved in such discussions; feel free to unsubscribe if no longer interested!

Additional Notes

I ended up here while updating our developer environments to reflect, in part, the increasing interest of our engineers in both Zed and formal verification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infrastructureZed's extension infrastructure doesn't currently support this type of extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions