All plugins

DSH / BUNDLE / CLIENT-UI

dsh-plugin-edit-files

v0.2.0mhxy13867806343 / dsh-plugin-edit-files963f676b8d

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

dsh-plugin-edit-files

Edit files right inside the DSH right-Sidebar document preview, and review what differs from the git remote in a Sidebar tab.

README / EN

Package documentation

Registry summary

Edit files right inside the DSH right-Sidebar document preview, and review what differs from the git remote in a Sidebar tab.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **只支持 UTF-8 文本**:二进制文件(前 8 KiB 出现 `\0`)直接拒绝,没有十六进制编辑。 - **单文件默认 ≤ 2 MiB**:超过上限不读也不写;可以调大 `maxFileBytes`,但别指望用它看大日志。 - **不是 IDE**:没有语法高亮、补全、LSP、多光标;改大文件请用真正的编辑器。 - **不自动合并冲突**:保存时发现外部改动只会提示,由你选覆盖或载入磁盘版本。 - **依赖本机 `git`**:`git` 不可用时 Host 返回 `git-unavailable`,Git 入口不可用,面板提示「这台机器上找不到 git 命令」。 - **大仓库会截断**:文件数超过 `maxChangedFiles`、diff 超过 `maxDiffLines`、文件面板超过 `maxTreeEntries` 时只回前 N 条 / 行,并在响应里标 `truncated`。 - **删除不是回收站**:文件面板的删除是直接删(目录要勾递归确认),删之前请确认 git 里能找回。 - **基准是远程**:没有上游时退回 `origin/HEAD` 或 `HEAD`;此时只能看到相对该基准的差异,建议先 `git push -u` 设好上游。 - **二进制文件只在列表可见**(标 `binary: true`),diff 不展开。