Repository navigation
Releases
File System View 1.1.2
Fixes
The community review environment doesn't install @types/node, so every fs/path/os-derived value in main.ts resolved as any there even though it type-checks cleanly in local dev. Reproduced this by type-checking the file with no @types/node present at all, then added node-shims.d.ts — minimal ambient declarations for just the fs/path/os functions this plugin calls. They merge harmlessly with the real @types/node when it IS present, so nothing changes locally.
Also fixed the README's H1 ("fsview" → "File System View") to match the manifest's display name, which the review checks for.
Known, kept warning
.fsquery-item's !important in styles.css stays — it's overriding real theme CSS (not just Obsidian core) that sets display: flex on every rendered <li>, discovered and fixed earlier today. Relying on selector specificity alone risks reintroducing that layout bug on themes we haven't tested against.
No functional changes — this is a review-compliance release on top of 1.1.1.
File System View 1.1.1
Fixes
Fixed every error flagged by the community plugin review (verified locally with eslint-plugin-obsidianmd, the tool the review uses):
- Properly typed the Electron
shellmodule instead of casting toany— this alone resolved most of the "unsafe call/member access" warnings. - Marked
shell.openPath()calls withvoid(it returns a Promise we intentionally don't await). - Typed
loadData()'s result instead of letting Obsidian'sPromise<any>flow untyped into settings merging. - Replaced raw
document.createElement("span")with Obsidian'screateSpan()helper. - Dropped the
builtin-modulesdependency in favor of Node's nativenode:modulebuiltinModules. - Reduced
!importantusage instyles.cssby scoping selectors more specifically (kept it only where Obsidian's own list styling genuinely needs overriding).
Other
- Renamed the plugin's display name from "FSView" to "File System View" for the community browser and settings search.
No functional changes to how the plugin behaves — this is a quality/compliance release on top of 1.1.0.
FSView 1.1.0
Highlights
- Real collapsible tree: the codeblock now scans one folder level at a time and expands lazily on click (▶/▼), instead of eagerly recursing and printing a flat list. Expanded levels are cached in the DOM.
- Fixed: the code block processor was registered under the tag
fsquerywhile every doc/example used ```fsview — the code block silently never rendered until now. - Inline mentions: a bare
~/pathor/pathin your notes becomes a clickable chip that opens/reveals it in Finder, as long as the path exists. Works in both Reading View and Live Preview. pathcan now point directly at a single file, not just a directory.- New options:
sort: created(withmtimefallback),collapsed, andgroup(keeps folders above files for every sort field, not justname). - New settings: "Start collapsed" and "Group folders before files".
- Styling moved from a JS-injected
<style>tag tostyles.css, which Obsidian loads/unloads automatically.
Upgrading from 1.0.0
No breaking changes to existing fsview blocks — all previous options keep working the same way.
FSView 1.0.0
Initial release of FSView — an interactive, collapsible file system tree inside any Obsidian note.