希望可以实现同一个 APP页面内点击不同区域切换不同输入法(例如在VScode中点击AI Agent 窗口切换中文输入法,点击 terminal 窗口切换英文输入)

未关闭
#121 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
40/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
macos, swift
领域
desktop

调研方向

Start with how InputSourcePro currently decides when to switch input sources (active-app observation in the Swift sources) and the comment thread plus the two screenshots in the issue for the intended behavior. The hard part is detecting which region inside one app was clicked, so investigate which macOS APIs (event taps, accessibility, window geometry) the project already uses. Done looks like clicking two different areas of one app provably switches to two different input sources, verified manually since there is no test named in the issue.

由索引模型根据 Issue 内容生成。

描述

在有些场景,需要频繁在同一个软件内做中英文切换,非常需要这个功能
如使用IDE编程,代码页面用的是英文,AI Agent 窗口用的是中文。

以下是我设想的两种实现方案,
Image

Image
主要语言
Swift
星标
3.6k
派生
144
平均合并
4 小时 16 分钟
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

runjuu/InputSourcePro 的其他 Issue

查看 runjuu/InputSourcePro 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。