Open-Source Wikis

/

Helix

/

Packages

helix-editor/helix

Packages

Helix is a Cargo workspace (Cargo.toml) with 14 published crates plus the xtask task runner. The split mirrors a layered architecture: foundational helpers at the bottom, core editing primitives in the middle, and the terminal frontend on top.

Layered overview

Layer Crates
Foundations helix-stdx, helix-parsec, helix-event, helix-loader
Core primitives helix-core
Editor state helix-view
TUI primitives helix-tui
Frontend helix-term
Protocols helix-lsp (+ helix-lsp-types), helix-dap (+ helix-dap-types)
VCS helix-vcs
Build/dev xtask (covered in tooling)

Per-crate pages

  • helix-stdx — extensions to the standard library: path, env, faccess, range, rope.
  • helix-parsec — a parser-combinator library used by snippet parsing.
  • helix-event — synchronous and async hooks, debouncing, redraw locks.
  • helix-loader — config and runtime directory resolution, tree-sitter grammar fetch/build, workspace trust.
  • helix-coreRope, Selection, Transaction, syntax, indent, movement, snippets.
  • helix-viewEditor, Document, View, Tree, theme, registers, clipboard, gutter.
  • helix-tui — TUI primitives forked from tui-rs: buffer, layout, widgets, backends.
  • helix-term — terminal frontend: application loop, commands, keymap, UI components.
  • helix-lsp — LSP client, transport, server registry. (helix-lsp-types is a vendored protocol type crate.)
  • helix-dap — Debug Adapter Protocol client. (helix-dap-types is the vendored protocol types.)
  • helix-vcs — diff provider abstraction; git is the only backend today.

Dependency rules

  • helix-core does not depend on helix-view, helix-tui, or helix-term.
  • helix-view depends on helix-core, helix-event, helix-vcs, helix-lsp, and helix-dap.
  • helix-term depends on everything except the protocol type crates directly (those come transitively).
  • Protocol type crates (helix-lsp-types, helix-dap-types) only depend on standard ecosystem crates.

For the workspace dependency table, see [workspace.dependencies] in Cargo.toml.

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Packages – Helix wiki | Factory