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

How to avoid trigger when input Non-English languages #29

Closed
chenyukang opened this issue Nov 25, 2021 · 11 comments
Closed

How to avoid trigger when input Non-English languages #29

chenyukang opened this issue Nov 25, 2021 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@chenyukang
Copy link
Contributor

chenyukang commented Nov 25, 2021

Thank you for this awesome plugin, I love it when input English words.
But I have an issue when inputting Chinese.
Here, it will also suggest the English words:

image

@chenyukang chenyukang changed the title How avoid trigger when input Non-English languages How to avoid trigger when input Non-English languages Nov 25, 2021
@tadashi-aikawa
Copy link
Owner

Hi, @chenyukang!

I understood what you bother to because I think so many times while inputting Japanese with IME. So I am trying to add a new option, Disable suggestions during IME On. Would it be possible to resolve your issue?

Before (current version)

2021-11-25_23h47_18.mp4

After (The version I am trying to)

2021-11-25_23h49_01.mp4

I don't know which works correctly with your IME, but it probably works :)

@chenyukang
Copy link
Contributor Author

Hi, @chenyukang!

I understood what you bother to because I think so many times while inputting Japanese with IME. So I am trying to add a new option, Disable suggestions during IME On. Would it be possible to resolve your issue?

Before (current version)

2021-11-25_23h47_18.mp4
After (The version I am trying to)

2021-11-25_23h49_01.mp4
I don't know which works correctly with your IME, but it probably works :)

Thanks for reply!
If you have pre-release version for testing, I would like to have a try. 😊

@chenyukang
Copy link
Contributor Author

Btw, I guess most users in Windows use Microsoft Input.

@tadashi-aikawa
Copy link
Owner

@chenyukang
I have uploaded pre-release version 🚀

If you use BRAT, you can install it from tadashi-aikawa/obsidian-plugin-dev-sandbox. It includes some breaking changes because it corresponds to v3.0.0. You can see what changes are at #28.

Best regards.

@chenyukang
Copy link
Contributor Author

@chenyukang I have uploaded pre-release version 🚀

If you use BRAT, you can install it from tadashi-aikawa/obsidian-plugin-dev-sandbox. It includes some breaking changes because it corresponds to v3.0.0. You can see what changes are at #28.

Best regards.

Confirmed it works perfectly, and we can also complete links now, awesome!
Thanks for your contribution. 🙌

@chenyukang
Copy link
Contributor Author

Btw, do you have any better English dictionary files to config my dictionary.

@chenyukang
Copy link
Contributor Author

I tried this words for complete, but it seems too big, it will hang up the plugin.
https://raw.githubusercontent.com/dwyl/english-words/master/words.txt

@chenyukang
Copy link
Contributor Author

@chenyukang
Copy link
Contributor Author

chenyukang commented Nov 26, 2021

The above dictionary works perfect.
But I found another improvement we may implement.

For instance, we have 'banana' in dictionary,
image
but if I will type this word in the beginning of a sentence, I will type "Ba", but it will not complete, I guess ignore uppercase will be better:

image

How do you think?

@tadashi-aikawa
Copy link
Owner

Thank you for your reply!

Confirmed it works perfectly

Glad to hear that 😄

do you have any better English dictionary files to config my dictionary.

Sorry, I have no idea because I don't use the custom dictionary feature.. 😅

but if I will type this word in the beginning of a sentence, I will type "Ba", but it will not complete, I guess ignore uppercase will be better:

That is very interesting :) Would you create another issue?

@tadashi-aikawa
Copy link
Owner

Done 97d7728

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants