Skip to content

docs: BUILD-file LSP guide and exec pass_env wildcard#25

Merged
raphaelvigee merged 4 commits into
mainfrom
claude/laughing-lovelace-davxta
Jun 13, 2026
Merged

docs: BUILD-file LSP guide and exec pass_env wildcard#25
raphaelvigee merged 4 commits into
mainfrom
claude/laughing-lovelace-davxta

Conversation

@raphaelvigee

Copy link
Copy Markdown
Member

Summary

Covers user-facing changes from hephbuild/heph#81 (feat(buildfile): BUILD-file LSP).

  • New page guides/editor-setup.md — explains the BUILD-file language server: what it provides (completion, hover, go-to-definition, driver-field completion), how to launch it (heph tool build-lsp), setup examples for Neovim and generic LSP clients, and the synthetic //@heph/build:lsp target.
  • Updated plugins/exec.md — documents the new pass_env = [\"*\"] and runtime_pass_env = [\"*\"] wildcard that passes all host env vars through, with examples and a note that pass_env = [\"*\"] should only be used on uncached targets since it folds the entire environment into the cache key.
  • Updated sidebars.ts — registers guides/editor-setup in the Guides section.

Test plan

  • build passes (Docusaurus produces no errors for the new page)
  • lint clean
  • New guide appears in the Guides sidebar between "Inspecting builds" and "Claude Code plugin"
  • exec.md renders the new "Environment passthrough" section correctly

Generated by Claude Code

Covers hephbuild/heph#81 (feat(buildfile): BUILD-file LSP).

- Add guides/editor-setup.md: how to connect an editor to heph tool build-lsp
- Update plugins/exec.md: document pass_env/runtime_pass_env "*" wildcard
- Update sidebars.ts: register the new editor-setup guide
@github-actions

github-actions Bot commented Jun 13, 2026

Copy link
Copy Markdown

⚡ Cloudflare Pages preview

Preview https://0bfbb010.hephbuild.pages.dev
Commit 1e59092

Comment thread website/docs/guides/editor-setup.md Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove all this
call this page Editor setup
description should not mention BUILD file specifically, keep it generic
add a VSCode section and mention the extension: https://marketplace.visualstudio.com/items?itemName=hephbuild.heph-nightly

Comment thread website/docs/guides/editor-setup.md Outdated
heph tool build-lsp
```

### VS Code

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move vscode up, and the "Connecting an editor", nest "Neovim" and "Other Editors" under section and they should get a warning that the CLI may change without notice

@raphaelvigee raphaelvigee enabled auto-merge (squash) June 13, 2026 12:21
@raphaelvigee raphaelvigee merged commit 4933268 into main Jun 13, 2026
3 checks passed
@raphaelvigee raphaelvigee deleted the claude/laughing-lovelace-davxta branch June 13, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant