Remix.run Logo
dharmab 17 hours ago

There's a great doc on exactly how Zed handles syntax and intellisense-style completions: https://zed.dev/docs/configuring-languages

Debugging isn't in yet, but is actively being worked on and planned for public release before 1.0: https://github.com/zed-industries/zed/issues/5065, there's an active channel in their Discord discussing the development of the feature.

pests 8 hours ago | parent | next [-]

That first link doesn’t really explain anything about syntax/autocomplete. It’s just about config options per language (formatted, linter, lsp) but I guess I was expecting something else?

dharmab 7 hours ago | parent [-]

It explains it in clear terms:

"""

Zed's language support is built on two main technologies:

    Tree-sitter: This handles syntax highlighting and structure-based features like the outline panel.
    Language Server Protocol (LSP): This provides semantic features such as code completion and diagnostics.
These components work together to provide Zed's language capabilities.

"""

Note this is _not_ how VSC's C++ Intellisense works. The VSC C++ plugin uses proprietary features of MSVC, it doesn't use LSP.

pests 8 minutes ago | parent [-]

That’s not really a description of anything, just a list of libraries zed uses, let alone a great doc. Just expected more than “its tree sitter and lsp”.

AbuAssar 12 hours ago | parent | prev [-]

Will they use DAP?

dharmab 12 hours ago | parent [-]

My understanding is that DAP support is merged into their internal builds and is being polished up for a public release.