You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Named .svelte imports are now tracked as dependencies (previously only default imports were)
<svelte:component this={Component}> dynamic usage is tracked when this is a direct component identifier
svelteVisualizer.unconditionalDependencyPaths setting (array of glob patterns): files matching a pattern treat all of their .svelte imports as dependencies regardless of template usage — useful for dynamic renderer components
svelteVisualizer.showPathOnHover setting (boolean, default true): show a node's full file path in a tooltip on hover; disable to turn the tooltip off
Incremental parsing: per-file parse results are cached by mtime and size, and a .svelte file watcher invalidates them, so refreshes only re-parse files that actually changed
Changed
Graph node ids are now workspace-relative file paths instead of basenames, so two same-named components (e.g. two Button.svelte in different folders) no longer collapse into a single node with misrouted edges
Same-named files now render as distinct nodes that share a plain label (basename, or the route's (page) /path); hover any node to see its full path and tell clashes apart (toggle with svelteVisualizer.showPathOnHover)
Bumped Svelte to 5.56.4
Removed
The implicit "renderer" filename heuristic (any file with "renderer" in its path). Files that need all imports treated as dependencies must now be listed explicitly via svelteVisualizer.unconditionalDependencyPaths
The standalone "Show Unused Imports" checkbox — it duplicated the legend's "Unused Import" filter; click that legend item to toggle unused-import visibility instead