Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FYI: VSCode 已经原生支持了此能力 #8

Open
Ninglo opened this issue Jul 20, 2024 · 3 comments
Open

FYI: VSCode 已经原生支持了此能力 #8

Ninglo opened this issue Jul 20, 2024 · 3 comments

Comments

@Ninglo
Copy link

Ninglo commented Jul 20, 2024

首先非常感谢作者实现了如此优质的插件, 在过去很长一段时间中为我在 VSCode 中编辑 Markdown 笔记提供了很大的帮助.

但注意到 microsoft/vscode#203605 已经在 VSCode 中原生实现了对中、日文或类似语言的分词能力, 只需配置 "editor.wordSegmenterLocales": ["zh-CN"] 即可, 效果如下视频所示. 应当可以完全解决这个插件想要解决的问题了.

Screen.Recording.2024-07-20.at.9.33.42.AM.mov

PS: 是否同时可在 README 中加上对此配置的介绍, 以让用户可以选择直接使用 VSCode 配置或者自行选择呢 (不是说作者的插件不好, 只是受插件架构限制肯定还是 VSCode 原生能力更强) ?

@Le0v1n
Copy link

Le0v1n commented Jul 21, 2024

谢谢大佬,意思是说,VSCode直接原生支持键盘+鼠标的分词了,不需要再安装CJK插件了吗?

@Ninglo
Copy link
Author

Ninglo commented Jul 21, 2024

谢谢大佬,意思是说,VSCode直接原生支持键盘+鼠标的分词了,不需要再安装CJK插件了吗?

对,vscode 自己已经实现中文分词相关的全部能力了

@Le0v1n
Copy link

Le0v1n commented Jul 21, 2024

editor.wordSegmenterLocales": ["zh-CN"]

非常感谢大佬的插件和Issue提醒,CJK插件对工作效率非常有极大的帮助!Respect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants