Skip to content

Releases: smallfishworld/vscode_quick_cmd

Quick Cmd v0.11.6

Choose a tag to compare

@github-actions github-actions released this 17 Oct 12:51
d674182

Quick Cmd v0.11.6

中文

  • 修复命令变量在双引号中被错误转义、导致输入中的 Shell 表达式执行的问题。占位符须放在引号和转义之外;包含嵌套展开或 here-document 的变量模板会在发送前拒绝。
  • “保存并完成编辑”继续保存写入期间到达的新草稿,直至全部保存;后续保存失败则保留编辑会话。
  • 全局 JSON 更新和首次默认预设初始化增加跨窗口、跨进程写入协调,避免不同窗口的修改互相覆盖;写入者退出后可恢复。
  • 终端复用比较展开后的环境变量及 Shell 集成报告的实际工作目录;缺少目录信息或配置不匹配时新建终端。
  • 存在未提交文本的终端不再复用;多步骤的中间执行事件也不会把末行预填误判为空闲。
  • 保留 v0.11.5 的 config.json 存储、首次预设和单个中英文自适应安装包。

English

  • Reject command-variable interpolation inside quotes or escapes, and variable templates containing nested shell expansion or here-documents, before sending text to a shell.
  • Save and Finish Editing continues saving drafts received during pending writes; failures preserve the editor session.
  • Coordinate JSON updates and first-run preset initialization across windows and extension host processes, with recovery after a writer exits.
  • Reuse terminals only when expanded environment values and the actual Shell Integration working directory match; otherwise create a new terminal.
  • Never reuse terminals with staged text. Intermediate multiline execution events cannot clear the final line's staged state.
  • Preserve v0.11.5 JSON storage, first-run presets and the single multilingual installer.

Validation covers automated tests, independent Node processes, shell argument handling, and VSIX content verification. Actual VS Code multi-window, Remote SSH and graphical host acceptance have not been performed. Marketplace publication follows the existing repository workflow settings.

Quick Cmd v0.11.5

Choose a tag to compare

@github-actions github-actions released this 17 Oct 11:41
f52b2c6

Quick Cmd v0.11.5

中文

  • 将快捷命令持久化方式从 VS Code 全局状态数据库改为插件专属全局存储目录中的 config.json,可直接查看、复制和备份。
  • 不提供自定义配置路径;不导入旧版 globalState 数据,也不增加卸载时保留数据机制。
  • 仅当 config.json 不存在时,首次打开 Quick Cmd 自动创建文件并加载中文或英文的完整默认预设(6 组、43 条)。
  • 已有文件(即使命令列表为空)绝不自动覆盖;读取 JSON 后严格校验,文件损坏或访问失败时报告错误。
  • 写入采用同目录临时文件加重命名,读改写在扩展宿主内串行化;添加失败恢复、首次运行、文件持久化和编辑操作回归测试。
  • 保持原有双语 VSIX 和扩展 ID;Marketplace 继续由发布者手动上传。

English

  • Save commands in a readable config.json under the extension's VS Code global storage directory instead of the VS Code globalState database.
  • No configurable path, legacy database migration or special retention when uninstalling.
  • Only if the JSON does not exist, initialize 6 groups/43 commands from the installed Chinese or English default presets.
  • Never overwrite an existing JSON file, even if intentionally empty; report malformed JSON or filesystem failures.
  • Use an adjacent temporary file and rename for writes, serialize modifications within the extension host and cover persistence, errors and first-run behavior with tests.
  • Preserve the existing extension identity and multilingual installer; Marketplace publication remains manual.

Quick Cmd v0.11.4

Choose a tag to compare

@github-actions github-actions released this 17 Oct 11:20
ca06d61

Quick Cmd v0.11.4

中文

  • 首次激活且未保存过全局快捷命令配置时,自动导入完整的 6 组、43 条预设命令;使用 VS Code UI 语言选择简体中文或英文。
  • 若存在任何已保存配置,包括空列表和用户主动删除全部命令后的空配置,则绝不重复导入、追加或覆盖。插件重新安装后仍以全局配置是否存在为准。
  • 初始化与编辑写入共用串行队列,防止首屏显示空列表或并发操作覆盖用户配置;默认命令只保存,不会执行。
  • 预设文件缺失、现存配置损坏时明确报错而不清空数据;增加首次使用、重装、语言切换、并发及故障回归测试。
  • README 保持面向用户,保留简明的默认命令说明;沿用同一个中英文自动适配 VSIX 和原扩展 ID。

English

  • Automatically seed the full 6-group / 43-command collection on the first extension activation with no saved configuration, choosing Chinese or English from the VS Code display language.
  • Existing saved configurations, including intentionally empty ones, are never merged with or overwritten by presets. Reinstalls also respect any state still persisted by VS Code.
  • Serialize initialization with edits so views never see placeholder data while seeding; no preset executes automatically.
  • Preserve data and report errors for missing preset files or invalid existing configs; add first-run, reinstall, locale, concurrency and failure regression coverage.
  • Keep public README content user-focused and preserve the existing multilingual VSIX and extension identifier.

Quick Cmd v0.11.3

Choose a tag to compare

@github-actions github-actions released this 17 Oct 05:40
dedb9b1

Quick Cmd v0.11.3

中文

  • 精简中英文 README,公开展示内容现在聚焦安装、功能、配置、快捷命令预设及开源协议。
  • 将开发验证、CI 和 Marketplace 发布认证等维护者信息从公开介绍页移到已有内部开发文档。
  • 新增测试,防止后续将维护者专用内容意外写入 Marketplace 展示页。
  • 插件功能与中英文自动切换保持不变,继续使用同一扩展 ID,已保存的快捷命令不会受到影响。

English

  • Simplified both public READMEs so GitHub and Marketplace pages focus on installation, features, configuration, command presets and the license.
  • Moved developer checks, CI, and Marketplace publishing setup out of the public extension overview into existing maintainer documentation.
  • Added regression tests to prevent maintainer-only instructions from appearing on Marketplace.
  • No change to extension behavior, localization, extension identity, or stored commands.

Quick Cmd v0.11.2

Choose a tag to compare

@github-actions github-actions released this 17 Oct 02:13
176f21d

Quick Cmd v0.11.2

中文

  • 修复 VS Code Marketplace 插件详情页显示默认占位图标的问题。
  • 在 package.json 顶层新增 icon: media/icon.png,包含之前设计的苹果风终端与闪电图标,实际尺寸 128 × 128 PNG。
  • 新增源代码及 VSIX 包内图标尺寸、文件内容一致性回归测试;保证后续打包不会遗漏图标。
  • 仍只发布一个自动适配 VS Code 简体中文或英文界面的安装包 quick-cmd-v0.11.2.vsix,扩展 ID 与已有用户配置均保持不变。

English

  • Fixed the generic placeholder icon on the Visual Studio Marketplace extension details page.
  • Declared icon: media/icon.png in the extension manifest and bundled the 128 × 128 PNG Apple-inspired terminal/lightning icon.
  • Added regression checks verifying the icon's dimensions and exact bytes in the packaged VSIX.
  • Still distributes one locale-aware installer, quick-cmd-v0.11.2.vsix, keeping the same extension identity and saved commands.

Quick Cmd v0.11.1

Choose a tag to compare

@github-actions github-actions released this 17 Oct 01:38
6b71f76

Quick Cmd v0.11.1

中文

  • 修复 VS Code Marketplace 首次上传报错:The category 'Productivity' is not available in language 'en-us'。
  • 将扩展分类改为 VS Code 官方支持的 Other,不再使用无效的 Productivity。
  • 构建前验证分类合法性,VSIX 解包校验以及单元测试也会检查分类,避免类似问题再次发生。
  • 继续只提供一个中英文自动适配的 VSIX:quick-cmd-v0.11.1.vsix。沿用原扩展 ID,不会删除已保存的快捷命令。

English

  • Fixed initial VS Code Marketplace upload failure: The category 'Productivity' is not available in language 'en-us'.
  • Changed the extension category to supported value Other.
  • Added pre-build validation, packaged manifest verification, and regression tests to reject unsupported Marketplace categories.
  • Still ships a single VSIX, quick-cmd-v0.11.1.vsix, switching between Chinese and English automatically and preserving saved commands.

Quick Cmd v0.11.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 01:30
5880920

Quick Cmd v0.11.0

中文

  • 中英文合并为单个 VSIX:GitHub Releases 和 VS Code Marketplace 均使用 quick-cmd-v0.11.0.vsix,不再生成中文、英文固定版本。
  • 插件使用 vscode.env.language 选择运行时界面语言,VS Code 自动根据 package.nls.json / package.nls.zh-cn.json 本地化命令、菜单及设置。中文显示中文,其他语言默认英文;切换 VS Code 界面语言并重载后生效。
  • 保留扩展 ID smallfishworld.vscode-quick-cmd 和全局命令存储,不清除已有命令,可直接从旧版升级。
  • 打包脚本只生成一个安装包,清空旧构建输出;自动化测试验证语言切换、两个语言目录和预设资源,并生成仅一条 SHA-256 记录。
  • 保留 43 条 Git、SVN、Linux、C/C++ 与 CMake、网络及 Docker 快捷命令预设,仍由用户手动选择导入,不自动执行。
  • Marketplace 自动上传同一个 VSIX,仍需要事先配置发布者权限和 GitHub OIDC(OpenID Connect)可信发布策略。

English

  • One multilingual VSIX: GitHub Releases and the VS Code Marketplace use the same quick-cmd-v0.11.0.vsix. Fixed-language installers have been removed.
  • The extension reads vscode.env.language for runtime UI strings; VS Code selects package.nls.json or package.nls.zh-cn.json for manifest strings. Chinese UI uses Chinese; other languages fall back to English. Reload VS Code after changing display language.
  • Preserves extension ID smallfishworld.vscode-quick-cmd and existing saved commands during upgrades.
  • The build creates exactly one VSIX and a one-line SHA-256 manifest, with tests checking both language catalogs and all bundled resources.
  • The 43 Git/SVN/Linux/CMake/networking/Docker command presets remain opt-in and are never executed automatically.
  • Optional Marketplace publishing uses the same VSIX and requires authorized publisher OIDC trusted publishing.

Quick Cmd v0.10.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 15:30
9305520

Quick Cmd v0.10.0

中文

  • 新增 presets/ 默认快捷命令库,包括 Git(14 条)、SVN(6 条)、Linux(7 条)、C/C++ 与 CMake(6 条)、网络诊断(5 条)和 Docker(5 条),共 6 组、43 条命令,同时提供中英文及仅 Git 的预设文件。
  • 预设 JSON 随三个 VSIX 安装包一同打包,也可从 GitHub presets 目录 下载并手动导入。
  • 新增 quick-cmd-v0.10.0-marketplace.vsix:保留英文与中文 VS Code 本地化配置,按宿主界面语言自动选择。
  • 保留 GitHub 发行版的固定中文、固定英文两个 VSIX 以及 SHA256 校验和;自动化构建和校验覆盖全部三个包。
  • 为 GitHub Actions 配置可选的 Marketplace OIDC 可信发布步骤(需先配置发布者授权及仓库开关)。

兼容与安全: 所有预设均不会自动执行。现有导入仍为替换全部命令,而不是增量合并;导入前请先导出备份。修改仓库或远端状态的关键命令启用了执行前确认。Linux 网络命令主要面向 POSIX/Linux Shell(Remote SSH、WSL 等)。

English

  • Added presets/ with 43 commands across six groups: Git (14), SVN (6), Linux (7), C/C++ & CMake (6), network diagnostics (5), and Docker (5). Both Chinese and English collections and Git-only collections are available.
  • The JSON presets are bundled in all three VSIX installers and available for manual download from GitHub.
  • Added quick-cmd-v0.10.0-marketplace.vsix, which follows the host VS Code language for English/Chinese UI localization.
  • Retained fixed Chinese and English GitHub release installers and SHA256 checksums, validating all three packages in CI.
  • Prepared an optional GitHub Actions Marketplace publishing step using OIDC trusted publishing after publisher authorization.

Compatibility and safety: Presets are never executed automatically. Import still replaces all existing commands rather than merging; export a backup first. Potentially state-changing version-control commands require a send confirmation. Linux and networking examples target POSIX/Linux shells including Remote SSH and WSL.

Quick Cmd v0.9.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 09:57

Quick Cmd v0.9.0

中文

  • 编辑栏“高级设置”默认展开,确认开关、描述、命令图标与环境变量不再需要手动点开。
  • 标题栏 ✓ 改为“保存并完成编辑”:直接保存草稿并退出,不再弹确认框;保存失败时保持编辑,不丢输入。× 仍走保存/放弃/取消确认。
  • 点击 ✓ 或 × 退出后焦点回到命令列表视图,不再停在终端或空编辑视图。
  • 命令图标预设扩充到约 30 个(覆盖构建、调试、测试、部署、Git、云、数据库、文件、安全等常用场景)。
  • 图标选择器改用 Codicon 字体渲染,与命令列表同源,修复同一图标在两处显示不一致的问题。
  • 保留列表字号分层、缩进竖线、行尾编辑/运行按钮与中英文发行包。

English

  • The editor's Advanced settings section is now expanded by default, so confirmation, description, icon and environment variables are visible without an extra click.
  • The title-bar ✓ is now Save and Finish Editing: it saves the draft and exits without a prompt, and keeps the editor open (preserving input) if saving fails. × still asks Save, Discard or Cancel.
  • Finishing or closing the editor returns focus to the command list view instead of leaving you in the terminal or an empty editor view.
  • The command icon presets grew to about 30, covering build, debug, test, deploy, Git, cloud, database, files and security.
  • The icon picker now renders from the Codicon font, the same source as the command list, fixing icons that looked different in the two places.
  • Retain the list type hierarchy, indent guide, row Edit/Run buttons and both language editions.

Automated interaction and bilingual package checks cover this release. Actual VS Code font rendering has not been visually verified in a graphical host.

The visual mockups under docs/ui-preview/ render the extension's own webview templates and client scripts, and were reviewed before this change landed.

Quick Cmd v0.8.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 08:38

Quick Cmd v0.8.0

中文

  • 列表字号分层更明显:命令比 VS Code 界面字号小 1 像素,分组比命令大 2 像素,文件夹与命令更容易区分。
  • 分组展开时,在折叠箭头下方绘制一条缩进竖线,命令列始终可见。
  • 命令行尾只保留编辑、运行按钮;删除改由右键命令弹出的原生菜单完成,删除前仍确认。
  • 编辑栏标题栏同时提供“完成编辑”和新增的 × 两个关闭入口,两者走同一关闭流程,都保护未保存草稿。
  • 保留紧凑布局、隐藏式编辑栏和中英文发行包。

English

  • Sharper list type hierarchy: commands are 1px smaller than the VS Code UI font and groups are 2px larger, so folders read clearly apart from commands.
  • An expanded group now draws a vertical indent guide under its collapse arrow, keeping the command column visible.
  • The command row keeps only Edit and Run; Delete moves to the native right-click menu and still asks for confirmation.
  • The editor title bar now offers both Done Editing and a new ×; both run the same close flow and protect unsaved drafts.
  • Retain compact layout, an editor hidden until needed and both language editions.

Automated interaction and bilingual package checks cover this release. Actual VS Code font rendering has not been visually verified in a graphical host.

The visual mockups under docs/ui-preview/ render the extension's own webview templates and client scripts, and were reviewed before this change landed.