Locate in Explorer

approved

by GroupiesM

Like IDEA's 'Scroll from Source' — reveal, scroll to center, and highlight the active note in the file explorer sidebar with one click. - This plugin has not been manually reviewed by Obsidian staff.

37 downloadsUpdated 23d agoMIT

Locate in Explorer

像 IDEA 的 Scroll from Source 一样:一键在左侧文件浏览器(File Explorer)中定位、滚动居中并高亮当前正在编辑的笔记。

功能

  • 自动展开当前笔记所在的父文件夹链
  • 将文件滚动到文件浏览器视口的正中间(而非顶部)
  • 笔记条目黄色高亮闪烁,方便一眼找到
  • 三种触发方式,任选其一

使用方式

方式操作
左侧栏图标左侧 ribbon 栏的十字准星图标,点一下即可定位
快捷键Cmd+Shift+L(macOS)/ Ctrl+Shift+L(Windows)
命令面板Cmd/Ctrl+P → 搜 "Locate in Explorer" → 回车

安装

社区插件市场(官方)

在 Obsidian 中:设置 → 社区插件 → 浏览,搜索 Locate in Explorer 安装。

BRAT(测试 / 抢先体验)

  1. 安装 BRAT 插件
  2. BRAT → Add a beta plugin,填入: https://github.com/GroupiesM/Obsidian-locate-in-explorer-Plugin

兼容性

  • 需要 Obsidian 1.9.0+
  • 依赖桌面端文件浏览器,仅支持桌面端(isDesktopOnly: true

开发

git clone https://github.com/GroupiesM/Obsidian-locate-in-explorer-Plugin
# 插件为纯 JS,无需构建;直接编辑 main.js 后在 Obsidian 中重载(Cmd/Ctrl+R)

仓库根目录需包含:manifest.jsonmain.jsstyles.css。发布时在 GitHub 创建以版本号(如 1.0.0)为标签的 Release,并把 manifest.jsonmain.js 作为发布附件上传。

许可

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.