Repository navigation
TinyEdit 0.4.0
中文
新增
- 命令行工具
tinyedit:在终端里直接用 TinyEdit 打开文件或命令的输出。tinyedit notes.md打开文件,文件不存在时先创建一个空文件;tinyedit a.txt b.json一次打开多个文件,每个文件一个标签页。已经打开的文件会直接切换过去。tinyedit main.swift:120打开文件并跳到第 120 行,main.swift:120:5同时指定列。报错信息和搜索结果里的“文件:行号”可以直接复制过来用。curl -s https://api.example.com/items | tinyedit把命令的输出放进新的未命名标签页。和粘贴进空白标签页一样,会提示切换语言、格式化 JSON、清理终端颜色代码。- 不带参数运行
tinyedit会把 TinyEdit 切换到前台,tinyedit -h查看全部用法。 - 安装:在 设置 ▸ 通用 ▸ 命令行工具 中点击“拷贝”,将安装命令粘贴到“终端”中运行(需要输入管理员密码)。命令链接到应用内的脚本,以后更新 TinyEdit 无需重新安装;设置中会显示是否已安装,并提供移除命令。
English
New
- The
tinyeditcommand line tool: open files, or what a command prints, in TinyEdit from Terminal.tinyedit notes.mdopens a file, creating an empty one first if it is missing;tinyedit a.txt b.jsonopens several files, one tab each. A file that is already open is selected.tinyedit main.swift:120opens a file at line 120, andmain.swift:120:5at a column too, so a "file:line" from an error message or search result can be pasted as is.curl -s https://api.example.com/items | tinyeditopens a command's output in a new Untitled tab. As with a paste into an empty tab, you are offered a language, Format JSON and cleanup of terminal color codes.tinyeditwith no arguments brings TinyEdit to the front;tinyedit -hshows every option.- To install it, click Copy in Settings ▸ General ▸ Command Line Tool and run the line in Terminal (it asks for an administrator password). The command links to the script inside the app, so it stays current when TinyEdit updates; Settings shows whether it is installed and the line that removes it.
安装 / Install
需要 macOS 15 或更高版本、Apple 芯片(M 系列)Mac。下载 TinyEdit-0.4.0-arm64.dmg,打开后将 TinyEdit 拖到“应用程序”文件夹。应用已使用 Developer ID 签名并经过 Apple 公证,可直接打开。
Requires macOS 15 or later on an Apple silicon (M-series) Mac. Download TinyEdit-0.4.0-arm64.dmg, open it and drag TinyEdit into the Applications folder. The app is signed with a Developer ID and notarized by Apple, so it opens normally.
SHA-256 (TinyEdit-0.4.0-arm64.dmg):
38dead2a3a95b2039cdb1d48ffbc75cdb1293e3ae020f19247459b9288566daa