README file from
GithubSet 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 instancesSingle 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.jsonandmanifest.jsonon the samex.y.zversion. - Update
versions.jsonthroughnpm version patch,npm version minor, ornpm version major. - Create a GitHub release whose tag matches the manifest version.
- Attach
main.js,manifest.json, andstyles.cssto the release.
License
MIT