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

Plugin configuration not found #8

Closed
ZHOUXING1997 opened this issue Jul 24, 2024 · 14 comments
Closed

Plugin configuration not found #8

ZHOUXING1997 opened this issue Jul 24, 2024 · 14 comments

Comments

@ZHOUXING1997
Copy link

image

image

  1. I installed the plug-in, but couldn't find the relevant configuration.

  2. My input method comes with English and Chinese, and I did not switch the input type through the system language. It seems that this situation cannot be detected by the plug-in.

  • I tested and found that the plug-in monitors the input method switching shortcut keys, not the actual language status.
  • This is my input method: https://pinyin.sogou.com/mac
@siropkin
Copy link
Owner

Thank you for the info and it's very interesting! What kind of JetBrains product are you using? I'll try to reproduce it locally

@siropkin
Copy link
Owner

InputMethodTips (READ/WRITE). A list of input method Tablet Input Panel (TIP) strings that are enabled for this language. The enabled Input methods are listed in the format Language ID: Keyboard layout ID.

Keyboard layout ID: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-language-pack-default-values?view=windows-11

@ZHOUXING1997
Copy link
Author

谢谢你的信息,这很有趣!你使用的是哪种 JetBrains 产品?我会尝试在本地重现它

goland

@ZHOUXING1997
Copy link
Author

InputMethodTips(读/写)。针对此语言启用的输入法平板电脑输入面板 (TIP) 字符串列表。启用的输入法以“语言 ID:键盘布局 ID”格式列出。

键盘布局 ID:https ://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-language-pack-default-values?view=windows-11

I use a mac, not windows

siropkin pushed a commit that referenced this issue Jul 26, 2024
@siropkin
Copy link
Owner

I know it could be a big ask but I would appreciate if you would be able to test unreleased yet version 1.2.0 in which I moved plugin settings to Tools (File > Settings > Tools > Kursor):
image

To install plugin from file pls do this: go to Plusings and click on Settings icon on the right and choose "Install plugin from disk"
image

Unreleased plugin attached:
Kursor-1.2.0.zip

siropkin pushed a commit that referenced this issue Jul 26, 2024
siropkin pushed a commit that referenced this issue Jul 26, 2024
@ZHOUXING1997
Copy link
Author

未发布的插件附加: Kursor-1.2.0.zip

I installed version 1.20 and the configuration has been shown normally

@siropkin
Copy link
Owner

Great, thank you! So the next task is to detect language...

@ZHOUXING1997
Copy link
Author

The input method I use comes with its own Chinese/English input language, so you may need to adapt some things depending on the input method.
It feels like this is not an easy thing to do, nor is it necessary.

@siropkin
Copy link
Owner

The input method I use comes with its own Chinese/English input language, so you may need to adapt some things depending on the input method. It feels like this is not an easy thing to do, nor is it necessary.

No problem, at least I will try to solve it. I just need time

@ZHOUXING1997
Copy link
Author

No problem, at least I will try to solve it. I just need time

Praise you, my bro

@siropkin
Copy link
Owner

I have good news: looks like I did it - I added support of Sogou Pinyin Method for macOS.

Please try this new not released version and tell me what do you think:
Kursor-1.3.0.zip

I display that method as "CH". Is it correct?

@ZHOUXING1997
Copy link
Author

I have good news: looks like I did it - I added support of Sogou Pinyin Method for macOS.

Please try this new not released version and tell me what do you think: Kursor-1.3.0.zip

I tried it and it can recognize this input method. Awesome, bro!

But the new problem is: this input method can switch the input language by itself, but I have not found how to obtain the status of the input method language, and there is no way to provide you with relevant help.

It may be that the Mac computer or the input method does not have the relevant API capabilities.

I display that method as "CH". Is it correct?

Change it to 'ZH'.

For this, I think can make a configuration, read the input method currently enabled on the system in the settings, and then make a mapping, so that don't have to worry about what to display.

@ZHOUXING1997
Copy link
Author

I think this issue can be ended here, because adapting this an input method has taken up a lot of your time.

Thank you very much, brother. Praise you!

@siropkin
Copy link
Owner

siropkin commented Aug 1, 2024

Change it to 'ZH'.

Done

For this, I think can make a configuration, read the input method currently enabled on the system in the settings, and then make a mapping, so that don't have to worry about what to display.

Great idea, I want to do that! This is the ticket for that: #14

I think this issue can be ended here, because adapting this an input method has taken up a lot of your time.

Ok, thank you. I'll close this issue and publish the new version.
If you think we need to go back to that issue in the future, please open a new ticket and we will try to find a solution.

Thank you for the help!

@siropkin siropkin closed this as completed Aug 1, 2024
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