Skip to content

Help: help-tree.json, the index the VSCode Help view is built from - #252

Merged
ddehilster merged 1 commit into
VisualText:mainfrom
ddehilster:feat/help-tree-index
Oct 26, 2026
Merged

ddehilster merged 1 commit into
VisualText:mainfrom
ddehilster:feat/help-tree-index

Conversation

@ddehilster

Copy link
Copy Markdown
Member

Adds Help/markdown/vscode/help-tree.json, the index the VSCode Help view is built from. With it, adding or reordering a help page is an edit here plus a visualtext-files release. The extension no longer needs an update.

The index

Each entry has a label and an icon, plus one of:

  • page: a markdown page under Help/markdown/, without .md
  • url: an external link
  • children: a folder of more entries
  • source: a folder filled from files on disk (prompts, links, announcements or versions)

Optional: tooltip, and expanded to have a folder start open. The file matches the tree the extension shows today, Large Files included.

Check

check-help-docs.ps1 adds check 1c. It fails when an entry's page doesn't exist, an entry has no label, a source is unknown, or the JSON doesn't parse. I ran it on this file (passes) and on a broken copy (fails, listing both errors).

The extension side is in visualtext/vscode-nlp (4.3.17). It falls back to a built-in tree when this file is missing, so the two PRs can merge in either order.

🤖 Generated with Claude Code

Help/markdown/vscode/help-tree.json lists the Help view's tree: labels,
icons, pages, folders, and the folders filled from files (LLM prompts,
helpful links, announcements, version notes). The NLP extension (4.3.17)
reads it, so adding or reordering a help page is now an edit here and a
visualtext-files release, with no extension update. It matches the tree
the extension shows today, Large Files included.

check-help-docs.ps1 gets a check 1c that fails when an entry's page does
not exist, an entry has no label, a source is unknown, or the JSON does
not parse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ddehilster
ddehilster merged commit cbf5bb1 into VisualText:main Oct 26, 2026
1 check passed
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