{"id":13679120,"url":"https://github.com/tuchg/ChinesePinyin-CodeCompletionHelper","last_synced_at":"2025-04-29T16:31:08.687Z","repository":{"id":37661529,"uuid":"282809702","full_name":"tuchg/ChinesePinyin-CodeCompletionHelper","owner":"tuchg","description":"让你的 JetBrains 系 IDE ( IDEA ,PyCharm,PhpStorm,WebStorm,AndroidStudio,GoLand等 )支持中文标识符以拼音/五笔等输入方式完成代码补全，享受和英文环境一致的中文智能编码体验，为代码表达提供更多选择，一种值得考虑的折中解决方案📏","archived":false,"fork":false,"pushed_at":"2024-03-02T05:03:53.000Z","size":2520,"stargazers_count":1722,"open_issues_count":13,"forks_count":45,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-24T22:48:49.694Z","etag":null,"topics":["chinese-programming-tools","intellij","intellij-plugin","pinyin","pinyin-completions-plugin"],"latest_commit_sha":null,"homepage":"https://plugins.jetbrains.com/plugin/14838","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuchg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-07-27T06:12:23.000Z","updated_at":"2025-04-21T06:23:19.000Z","dependencies_parsed_at":"2024-01-14T15:22:17.210Z","dependency_job_id":"7a8fd117-095d-482b-9c9b-0d9024a2c6b7","html_url":"https://github.com/tuchg/ChinesePinyin-CodeCompletionHelper","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":"JetBrains/intellij-platform-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuchg%2FChinesePinyin-CodeCompletionHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuchg%2FChinesePinyin-CodeCompletionHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuchg%2FChinesePinyin-CodeCompletionHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuchg%2FChinesePinyin-CodeCompletionHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuchg","download_url":"https://codeload.github.com/tuchg/ChinesePinyin-CodeCompletionHelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251540098,"owners_count":21605843,"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":["chinese-programming-tools","intellij","intellij-plugin","pinyin","pinyin-completions-plugin"],"created_at":"2024-08-02T13:01:02.198Z","updated_at":"2025-04-29T16:31:03.677Z","avatar_url":"https://github.com/tuchg.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# ChinesePinyinCodeCompletionHelper\n\n![Build](https://github.com/tuchg/ChinesePinyin-CodeCompletionHelper/workflows/Build/badge.svg)\n[![Version](https://img.shields.io/jetbrains/plugin/v/14838.svg)](https://plugins.jetbrains.com/plugin/14838)\n[![Downloads](https://img.shields.io/jetbrains/plugin/d/14838.svg)](https://plugins.jetbrains.com/plugin/14838)\n![GitHub Repo stars](https://img.shields.io/github/stars/tuchg/ChinesePinyin-CodeCompletionHelper?color=green\u0026logo=github\u0026style=flat)\n[![star](https://gitee.com/tuchg/ChinesePinyin-CodeCompletionHelper/badge/star.svg?theme=white)](https://gitee.com/tuchg/ChinesePinyin-CodeCompletionHelper/stargazers)\n\n\u003c!-- Plugin description --\u003e\n\n\u003ca href=\"https://github.com/tuchg/ChinesePinyin-CodeCompletionHelper\"\u003eGithub\u003c/a\u003e|\n\u003ca href=\"https://gitee.com/tuchg/ChinesePinyin-CodeCompletionHelper\"\u003eGitee\u003c/a\u003e\n| \u003ca href=\"https://github.com/tuchg/ChinesePinyin-CodeCompletionHelper/issues\"\u003eIssues\u003c/a\u003e\n\n\u003c!-- E --\u003e\n\u003e 初衷在于，一些业务上不太适合用英语表达的，可以用上直白的母语而非拼音，然后像平常写代码那样去调用母语所表达的东西，解决部分命名困难症🤔\n\u003e \n\n![演示](banner.png)\n\n让你的 IDE 支持中文智能编码，享受和英文环境一致的中文智能编码体验\n\n* 拼音输入补全，如果上下文存在 `中文` 标识符, 输入 zw，则会补全提示中文【**Z**hong**W**en】\n* 多音字无差别补全\n* 函数名、变量名、类名等等标识符，只要能用中文标识的通通都支持\n* 支持双拼、五笔等各式输入方式\n\n兼容 JB 全家桶，无差别中文编码，无论是 Java、Python、JavaScript、Kotlin、Golang、C#、C++ 亦或者 Haskell 等等通通都支持\n\n\u003cp\u003e\u003c/p\u003e\n\n推荐使用中文命名标识符的场景：\n\n* 因传统文化背景的相关产品标识命名而耽误进度\n* 现有项目充斥大量缩写歧义拼音\n* 全中文母语开发团队英语素质参差不齐\n\n\u003e 提示：当提示 `no ascii` 时，可按提示电灯泡关闭该提示\n\n如果对您有所帮助，别忘了给本项目\u003ca href=\"https://github.com/tuchg/ChinesePinyin-CodeCompletionHelper\"\u003e Github \u003c/a\u003e主页一颗\nStar😁，你的支持是项目前进的动力\n\n\u003e 💡 Intellij Platform 2022.1官方支持拼音首字母补全，本插件在此基础已可触发 go、c、kotlin等语言的正常补全，为获得更好体验，推荐原本效果不佳的用户更新至该版本\n\n\n\u003c!-- Plugin description end --\u003e\n\n## 安装\n\n- IDE 内建插件市场:\n\n  \u003ckbd\u003ePreferences\u003c/kbd\u003e \u003e \u003ckbd\u003ePlugins\u003c/kbd\u003e \u003e \u003ckbd\u003eMarketplace\u003c/kbd\u003e \u003e \u003ckbd\u003e搜索 \"pinyin\"\u003c/kbd\u003e \u003e\n  \u003ckbd\u003eInstall Plugin\u003c/kbd\u003e\n\n- 手动:\n\n  展开 [latest release](https://github.com/tuchg/ChinesePinyin-CodeCompletionHelper/releases/latest) 中的 `Assets` ,\n  找到其下`*.jar`文件并下载，而后进入 IDE\n  \u003ckbd\u003ePreferences\u003c/kbd\u003e \u003e \u003ckbd\u003ePlugins\u003c/kbd\u003e \u003e \u003ckbd\u003e⚙️\u003c/kbd\u003e \u003e \u003ckbd\u003eInstall plugin from disk...\u003c/kbd\u003e\n\n## ToDo\n- [x] 支持多音字补全\n- [x] 已知Kotlin、Go等因语言内部实现冲突，需在中文前添加语言合法ascii字符才能正常触发，经[IDEA-251113](https://github.com/JetBrains/intellij-community/commit/71a587c4b23667bb09d1f1dc830647b133953a9e) 支持已可运作，已于 `2022.1 EAP`集成\n- [x] 提供搜索/替换框内的拼音中文补全 \n- [x] 添加可视化配置界面\n- [x] 支持非全拼输入补全，如五笔、双拼等 ( [RIME](https://github.com/rime) 导入)\n- [ ] [多语言编程的设想：将变量名与自然语言解耦](https://www.v2ex.com/t/701390)\n- [ ] [基于 IDE 的中文输入法](https://gitee.com/Program-in-Chinese/vscode_Chinese_Input_Assistant/issues/I5YGO3)\n- [ ] [中文代码的特殊排版](https://github.com/tuchg/ChinesePinyin-CodeCompletionHelper/issues/67)\n\n## 相关资源\n\n* \u003ca href=\"https://gitee.com/Program-in-Chinese/vscode_Chinese_Input_Assistant\"\u003e中文代码快速补全 VS Code 插件\u003c/a\u003e\n* \u003ca href=\"https://github.com/stratosblue/ChinesePinyinIntelliSenseExtender\"\u003eVisualStudio汉语拼音拓展\u003c/a\u003e\n* \u003ca href=\"https://github.com/duolabmeng6/pyefun\"\u003ePython 易函数 (语言标准API汉化库)\u003c/a\u003e\n\n## 参与项目\n\n欢迎对本项目感兴趣的同学PR，共同维护，commit message 遵守\n[emoji-commit](https://gitmoji.carloscuesta.me/) 规范\n\n了解如何参与维护开发及现有bug思路可参考[此处](doc/Bugs解决思路.md)\n\n## Star History\n\n\u003ca href=\"https://star-history.com/#tuchg/ChinesePinyin-CodeCompletionHelper\u0026Date\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=tuchg/ChinesePinyin-CodeCompletionHelper\u0026type=Date\u0026theme=dark\" /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=tuchg/ChinesePinyin-CodeCompletionHelper\u0026type=Date\" /\u003e\n    \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=tuchg/ChinesePinyin-CodeCompletionHelper\u0026type=Date\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n---\nPlugin based on the [IntelliJ Platform Plugin Template][template].\n\n[template]: https://github.com/JetBrains/intellij-platform-plugin-template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuchg%2FChinesePinyin-CodeCompletionHelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuchg%2FChinesePinyin-CodeCompletionHelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuchg%2FChinesePinyin-CodeCompletionHelper/lists"}