{"id":13941559,"url":"https://github.com/3biubiu/auto-shift-input","last_synced_at":"2025-07-20T04:31:52.160Z","repository":{"id":196941446,"uuid":"696717055","full_name":"3biubiu/auto-shift-input","owner":"3biubiu","description":"根据上下文自动切换中英文输入法","archived":false,"fork":false,"pushed_at":"2024-08-20T03:17:33.000Z","size":321,"stargazers_count":11,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-27T10:36:13.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3biubiu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-26T09:52:43.000Z","updated_at":"2024-11-19T04:26:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"5123904b-31ad-4d42-9848-9a62ff53b891","html_url":"https://github.com/3biubiu/auto-shift-input","commit_stats":null,"previous_names":["3biubiu/auto-shift-input"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/3biubiu/auto-shift-input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3biubiu%2Fauto-shift-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3biubiu%2Fauto-shift-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3biubiu%2Fauto-shift-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3biubiu%2Fauto-shift-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3biubiu","download_url":"https://codeload.github.com/3biubiu/auto-shift-input/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3biubiu%2Fauto-shift-input/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266067262,"owners_count":23871324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-08T02:01:21.266Z","updated_at":"2025-07-20T04:31:48.377Z","avatar_url":"https://github.com/3biubiu.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# auto-shift-input \n\n一个vscode插件,能够实现根据光标位置自动切换中英文输入\n\n![Video_20231109_092940_467.gif](https://s2.loli.net/2023/11/09/IQAxUqhCFEdDHjN.gif)\n\n## Features\n\n获取 vscode 的 TextMate 分词引擎的词法作用域判断当前光标是否处于注释语句中,从而达到自动切换中英文输入的目的. ,目前支持win平台,默认兼容微软输入法,其他输入法如果不起作用请尝试修改 `SetParam` 字段为 `6`.\n\n\u003e 同时  YF-Zhao 大佬的文章对本插件开发有着非常大的助力,插件的核心功能基于大佬的方案改进而来\n\n## Requirements\n\n 此插件运行依赖 `HyperScopes Booster` 插件:\n\n[HyperScopes Booster]: https://marketplace.visualstudio.com/items?itemName=yfzhao.hscopes-booster\n\n请务必安装\n\n## Extension Settings\n\n```json\n\"Settings.ChineseModeCode\": {\n  \"type\": \"number\",\n  \"default\": 1025,\n  \"description\": \"如果想实现其他的语言的自动切换 请修改此值,默认为中文(1025)\"\n},\n\"Settings.EnglishModeCode\": {\n  \"type\": \"number\",\n  \"default\": 0,\n  \"description\": \"如果想实现其他的语言的自动切换 请修改此值, 默认为英文(0)\"\n},\n\"Settings.GetParam\": {\n  \"type\": \"number\",\n  \"default\": 1,\n  \"description\": \"检测输入法状态,默认为微软输入法(0x001)\"\n},\n\"Settings.SetParam\": {\n  \"type\": \"number\",\n  \"default\": 2,\n  \"description\": \"切换输入法状态,默认为微软输入法(2),QQ/搜狗等(6)\"\n},\n\"Settings.CursorColor\": {\n    \"type\": \"string\",\n    \"default\": \"\",\n    \"description\": \"中文模式下的光标颜色 默认不设置\"\n  }\n```\n\n## Plan\n\n- 尝试兼容Linux\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3biubiu%2Fauto-shift-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3biubiu%2Fauto-shift-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3biubiu%2Fauto-shift-input/lists"}