dsh-plugin-workspace-move-top
Verifieddsh-plugin-workspace-move-top · v0.2.1 · MIT · Web UI
Move a workspace to the top once from its menu, without favorites or automatic reordering.
Install
dsh plugin add dsh-plugin-workspace-move-top Confirm the layer applied with dsh --profile default --dump-config — see the install guide.
Source
Published to npm without a public repository. Inspect the package contents before installing.
Tags
Readme
移到最上面
在 DSH 工作区 … 菜单中增加“移到最上面”。点击一次,通过官方 workspaceRegistry.insertBefore 接口完成一次排序,相当于替你完成一次长距离拖动。
- 没有星标、收藏区或自动归位。
- 之后把另一个项目移到第一,原来的自然退到第二。
- 仍可自由拖动;启动与同步时不恢复旧顺序。
- 不依赖工作区同步插件,可单独安装。
安装
dsh plugin --profile desktop add [email protected]
兼容性与限制
已在 macOS + DSH 0.2.1-rc.5 验证,本版本精确对应该宿主。菜单根据浏览器语言显示中文或英文。
宿主没有工作区菜单扩展位,因此客户端使用当前工作区行和菜单 DOM。宿主改变该结构后,菜单项可能消失;插件不会因此自行排序。Windows 真机与非空会话菜单的浏览器行为尚未验证。
验证
npm ci
npm run check