~/talk

How OpenTofu Uses LSP To Power Its Text Editors Plugins

links:none on file
slides:none on file

OpenTofu ships a language server called tofu-ls that uses LSP over JSON-RPC2 plus hcl/lang utilities to deliver hover, completion, go-to-definition and real‑time diagnostics for HCL files. Schemas come from an open-tofu-schema bundle built by running go generate and invoking the OpenTofu CLI (tofu providers schema -json) for the top ~100 providers, and diagnostics are sent with publishDiagnostics (push model). Hover and schema validation work now; rename/refactor and large‑project performance remain in progress.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Language Server Protocol
  3. 3:58OpenTofu LSP server
  4. 7:13Hover feature
  5. 14:35Schema validation
  6. 21:54Future plans
  7. 23:16Acknowledgments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.