Refactor global shortcuts and add new editor commands#114
Merged
Conversation
捕获阶段 keydown 拦截与派发、监听生命周期移入独立 composable; App 传入 matchShortcut/shortcutDispatch/isOverlayOpen。零行为变化。
命令面板「文本」分组:把选区(或全文)包成带语言围栏的 Markdown 代码块复制到剪贴板, 语言取当前编辑语言并去掉尾部数字(python3→python),便于分享到 issue/聊天/文档。
命令面板用现有 DiffView 把剪贴板内容(原始)与当前编辑内容(修改)做差异对比, 便于快速核对粘贴改动;剪贴板空/读取失败有提示,弹层纳入快捷键屏蔽。
job 设了 working-directory: docs,upload-pages-artifact 内部 tar 继承该目录,
相对 path 'docs/dist' 被解析为 docs/docs/dist;改用 ${{ github.workspace }}/docs/dist。
根 .gitignore 的 *.json 规则会忽略 docs 下的 JSON;在 docs/.gitignore 用 !tsconfig.json/!package.json 重新纳入,确保克隆后类型检查/构建配置完整。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.