From d723fcfa2f8b8aea42e6cc2be8f29e96fec7681f Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 1 Aug 2026 21:56:46 +0000 Subject: [PATCH] docs(editor-setup): document provider_state hover narrowing heph/heph#316 narrows the target()/provider_state() hover to the driver or provider a call site selects, replacing the generic **config/**state catch-all with the resolved schema's fields. The Hover row already promised this for target()'s driver; extend it to cover provider_state()'s provider too. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01HWJA8tcHT8fdcZrznabpmE --- website/docs/guides/editor-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/guides/editor-setup.md b/website/docs/guides/editor-setup.md index c45af4f..e9569f0 100644 --- a/website/docs/guides/editor-setup.md +++ b/website/docs/guides/editor-setup.md @@ -16,7 +16,7 @@ go-to-definition, and document formatting. |---------|-------------| | Diagnostics | Flags a `target()` or `provider_state()` call that's missing a required field — a base field like `name`, or, once `driver`/`provider` is set, a field required by that driver or provider. | | Completion | `target`, `file`, `glob`, `struct`, `provider_state`, `heph.core.*`, and every provider function complete with their signatures and inline docs. Address strings (`//pkg:name`) complete packages and target names as you type. Inside a `target(driver="exec", …)` call, the driver's accepted fields complete with types and descriptions. | -| Hover | Signature and documentation for any builtin or provider function. Hover a `target()` call to see the addresses it produced and, once its `driver` is set, that driver's config fields with their types and descriptions. | +| Hover | Signature and documentation for any builtin or provider function. Hover a `target()` call to see the addresses it produced and, once its `driver` is set, that driver's config fields with their types and descriptions. Same for `provider_state()`: once its `provider` is set, hover shows that provider's state fields instead of a generic signature. | | Go-to-definition | Jump to the BUILD file that defines an address — both `//pkg:name` and relative `:name` forms. | | Formatting | Format-on-save rewrites the open BUILD file to canonical style. Uses the same rules as [`heph tool build-fmt`](/docs/guides/formatting-build-files), respecting the workspace `indent` setting and the `# heph:fmt skip-file` directive. |