Scoria

The Files view

The Files tab in the left dock is the vault's folder tree. It is the tab Scoria opens on, and file-explorer:open returns to it.

What you see

  • Folders before files. Folders keep their name order under every sort order; only the files of a folder reorder. This is Obsidian's behavior.
  • Notes without their extension. Ideas.md shows as Ideas, because the .md on every note is noise.
  • Attachments with theirs. diagram.png shows as diagram.png.
  • Empty folders. They exist in the vault, so they are in the tree.

Click a folder to collapse or expand it; the collapse state is kept while the window is open. Click a file to open it.

The header

Five icon buttons across the top of the pane, the ones Obsidian puts there:

ButtonDoes
New notefile-explorer:new-file, which follows newFileLocation
New folderfile-explorer:new-folder: an Untitled folder at the vault root, its name open for typing on the row (in 0.7.0, a prompt asks for the name first)
Change sort orderA menu of the six orders, with a check on the one in force
Auto-reveal current fileA toggle; it wears the accent color while on
Expand all / Collapse allThe label follows the tree — one folder opened by hand makes it Collapse all

The six orders are Obsidian's own:

OrdersortOrder
File name (A to Z)alphabetical
File name (Z to A)alphabeticalReverse
Modified time (new to old)byModifiedTime
Modified time (old to new)byModifiedTimeReverse
Created time (new to old)byCreatedTime
Created time (old to new)byCreatedTimeReverse

Names break every tie, so the list is stable across a rescan. Created time is the filesystem's birth time where it has one and the modified time where it does not.

The order and the auto-reveal toggle live in the file-explorer leaf of .obsidian/workspace.json, never in app.json, and Scoria reads them at startup and writes them back in place — in Obsidian's key order, so nothing else in the file moves.

The keyboard

file-explorer:open puts the keyboard in the tree where it last was, and file-explorer:reveal-active-file puts it on the open file. The focused row carries a border rather than a selection wash.

KeyDoes
↑ / ↓Move over the visible rows, opening nothing
EnterOpen the row, and hand the keyboard to the note
→Open a folder, or step into an open one
←Climb to the parent folder and close it
EscapeGive the keyboard back to the note
F2Rename
DeleteDelete, asking first unless promptDelete is off

What is hidden

HiddenWhy
Dot-folders (.obsidian, .git, .trash)Configuration and machinery, as in Obsidian
Unknown file kindsUnless showUnsupportedFiles is on in app.json

A "known kind" is a note, an image, an audio file, a video, a PDF, a Canvas or a Base. A .zip or a .xlsx in your vault is an unknown kind: with showUnsupportedFiles off it is not listed. With it on it is listed, but clicking it only says the file is not supported yet; use Open in default app on its right-click menu instead.

Reveal the open note

file-explorer:reveal-active-file expands the tree down to the note you are reading and highlights it. Opening a note from somewhere else — a link, the switcher, the graph — always highlights its row; whether the tree also expands the folders above it and scrolls to it depends on the header's Auto-reveal current file toggle. With auto-reveal off the list stays where you put it, which is also why a write elsewhere in the vault no longer moves it.

The right-click menu

Right-click a file or a folder for:

On a fileOn a folder
Open in new tabNew note (in that folder)
Open to the rightNew folder
Open in new windowNew canvas
Make a copyNew base
Move file to...Make a copy
Bookmark...Move folder to...
Copy pathSearch in folder
Open in default appBookmark...
Show in system explorerCopy path
Rename...Show in system explorer
DeleteRename...
Delete

A note's menu also has Merge entire file with..., below Bookmark.

Copy path opens a submenu, the same one every file menu in Scoria draws: as Obsidian URL (obsidian://open?vault=…&file=…), from vault folder (the path inside the vault, a note's .md dropped: Projects/Plan, but Boards/Map.canvas) and from system root (the full path on disk). A folder has the two path rows alone. Each says so in a notice. The submenu came after 0.7.0, where Copy path copies the vault path; a Bases row's menu still does that.

Open in new window opens the file in a popout window of its own. After 0.7.0, New folder asks nothing first, as in Obsidian: it makes Untitled (then Untitled 1, Untitled 2, …) at once, in the folder you right-clicked or, from the header, the command and the empty space, at the vault root, and opens the name on its row. Type a name and press Enter or click away to rename it; Escape keeps it as Untitled, and the folder stays either way. In 0.7.0 it asks for the name before it makes the folder. A right click on the empty space below the last row offers the four New rows alone, rooted at the vault. Several rows are commands too, so they can have a key of their own — file-explorer:new-file, file-explorer:new-folder, file-explorer:move-file, workspace:edit-file-title (F2), file-explorer:duplicate-file, app:delete-file.

Renaming and moving rewrite the links in the rest of the vault. What exactly that means — which links change, which are left byte for byte, what happens to aliases — is the subject of managing notes, and worth reading once before you rename anything in a vault you care about.

Files that change on disk

The tree follows the folder. A file added, removed, renamed or moved by anything else — git, a sync client, Obsidian in another window — appears or disappears here within a moment, without a refresh. A folder moved into the vault is walked and added whole; a folder removed takes everything under it out of the index.

In 0.7.0, renaming, moving or deleting an empty folder in Scoria can leave its old row in the tree until some other file or folder changes. That is fixed after 0.7.0.

Not yet

  • Dropping files from a file manager onto the Files view. Put the file in the folder yourself and the tree will notice, or paste or drop it into a note, which copies it into the vault and embeds it.

Bookmarks

Bookmarking is its own pane rather than a star on a row: the Bookmarks tab in the left dock (bookmarks:open, shown while core-plugins.json leaves the plugin on) holds the tree in your vault's .obsidian/bookmarks.json — files, folders, headings, blocks, searches, graphs, URLs and groups — and the seven bookmarks: commands add and remove entries. An item Scoria never touched is written back key for key, so the two apps share one list.

Next

Source: sites/scoria/content/docs/app/files.md