Repository navigation
Structure tree, diagram viewer, and live docs in the IDE - #1
Merged
Merged
Conversation
Add a "PseudoScript" tool window with two tabs: - Structure: the workspace symbol tree from `pds outline`, monorepo-aware (every `pds.toml` via `pds list`, grouped by workspace). Selecting a node — or right-click PseudoScript > Open Diagram in the editor — renders its fitting diagram (C4 view, or a flow's sequence) in the main editor area via a custom SVG FileEditor (JSVG: zoom, fit, pan, SVG/PNG export). - Docs: build & serve the documentation site (`pds doc --watch`) and preview it live in an embedded JCEF browser, with stop/reload/open-in-browser and a free-port server tied to the tab's lifetime (falls back to the system browser where JCEF is unavailable). Diagrams follow the IDE theme: `pds svg --theme light|dark`, re-rendered on theme switch, on a theme-matched plate. Adds a grey monochrome PDS icon for the tool window and menu, and the JSVG dependency. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
JonathanTurnock
added a commit
that referenced
this pull request
Jun 2, 2026
Release the structure tree, diagram viewer, theming, and live docs preview added in #1. Adds a 0.2.0 change-notes entry. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes PseudoScript from text-only editing to a visual, first-class IDE experience. Adds a PseudoScript tool window with two tabs.
Structure
pds outline, monorepo-aware — discovers everypds.tomlviapds list, grouped by workspace, with C4-kind icons and flows (triggered callables) flagged.FileEditor: JSVG vector rendering with zoom / fit / actual-size / ⌘-wheel / drag-pan, and SVG + PNG export.Docs
pds doc --watchon the active file's workspace (free port), waits for the readiness banner, and previews the live, auto-reloading site in an embedded JCEF browser — with stop / reload / open-in-browser. The server is tied to the tab's lifetime; falls back to the system browser where JCEF is unavailable.Theming
pds svg --theme light|dark, re-rendered on theme switch and shown on a theme-matched plate. Light output is unchanged (byte-identical), so the doc site and golden tests are unaffected.Misc
README/ file-type description updated to the "pseudoprogramming" framing.Dependencies
Requires a
pdsbuild with the newoutline,svg(incl.--theme), and reusedlistcommands (from the language repo).verifyPlugin→ Compatible against IC-243.🤖 Generated with Claude Code