Set to Root

by lixingyu41
5
4
3
2
1
New Plugin

Description

This plugin has not been manually reviewed by Obsidian staff. Open additional File Explorer tabs rooted to a specific folder.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Set to Root

Open additional File Explorer tabs rooted to a specific folder.

Desktop only.

Features

  • Adds Set to root / 设置为根目录 to the folder context menu in the default File Explorer.
  • Opens a dedicated rooted explorer view without changing Obsidian's built-in full-vault File Explorer.
  • Supports either a single rooted view or multiple rooted views.
  • Restores rooted views after restarting Obsidian.
  • Lets you choose the icon used by rooted views from a searchable icon picker.

Settings

  • Rooted view instances
    • Single view: reuse one rooted explorer and replace its root folder.
    • Multiple views: open multiple rooted explorers.
  • Rooted view icon
    • Choose the tab icon used by rooted explorer views.

Development

Install dependencies once:

npm install

Start a development build that watches source files:

npm run dev

Create a production build:

npm run build

Release format:

  • Keep package.json and manifest.json on the same x.y.z version.
  • Update versions.json through npm version patch, npm version minor, or npm version major.
  • Create a GitHub release whose tag matches the manifest version.
  • Attach main.js, manifest.json, and styles.css to the release.

License

MIT