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

Removing plugin causes error if current selected keymap is one of the plugin keymaps #30

Open
muyuxunqing opened this issue Oct 6, 2021 · 4 comments

Comments

@muyuxunqing
Copy link

This is a good plugin, but I prefer ideavim to this plugin. After deleting the plugin, an error occurs every time I restart idea.
idea64_aYgWdEIrrR
What's the problem

@amibiz
Copy link
Owner

amibiz commented Oct 7, 2021

Thanks @muyuxunqing for opening an issue, I will try to reproduce and update with a fix asap.

@amibiz
Copy link
Owner

amibiz commented Oct 8, 2021

I was able to reproduce the issue using the following steps:

  1. Install the plugin
  2. Create custom keymap based on ErgoKeys (QWERTY) by duplicating it
  3. Uninstall the plugin

Because the cloned keymap uses the ErgoKeys (QWERTY) keymap as parent, after uninstalling the plugin, IntelliJ can not find the parent keymap and shows the error notification.

For now, suggest to delete any custom keymap based on the plugin as a workaround.

@muyuxunqing can you please confirm if you have a custom keymap based on ErgoKeys (QWERTY)?

@muyuxunqing
Copy link
Author

I don't have a custom keymap based on ErgoKeys (QWERTY),but I seem to have solved the problem.

In fact, this error disappeared after I reinstalled the plug-in, but once you delete the plugin, an error will appear.
At your prompt, I reconsidered the reasons and made the following attempts.

  1. Reinstall the plugin

  2. Select "Windows" in Settings-Keymap
    ErgoKeys

  3. Delete the plugin

Finally, the problem was solved successfully.

The problem is that I didn't modify my KeyMap when deleting the plugin.
Later, I repeated the error and fixed the problem again
Finally, @amibiz thanks!

@amibiz
Copy link
Owner

amibiz commented Oct 8, 2021

Thanks @muyuxunqing, with your steps I was able to reproduce the exact issue:

  1. Install the plugin
  2. Change the current keymap to one of the plugin ones
  3. Uninstall the plugin

I will investigate a fix that solves the issue.

Also, opened #31

@amibiz amibiz changed the title Missing keymap Removing plugin causes error if current selected keymap is one of the plugin keymaps Oct 8, 2021
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