-
Notifications
You must be signed in to change notification settings - Fork 135
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
Adapting plugin to assign hotkey for the "scroll from source" action in the Unity Explorer #375
Comments
Hmm this code actually should work. At least with FileSelectInContext. |
In the latest nightly, the behavior changed: it now only works in the Unity Explorer, and will throw errors if the normal solution explorer is visible instead. For anyone curious, below is the exception that is thrown.
|
Just removed the If anyone is interested, I attached a working build on the original repository here: luonanqin/intellij-idea-plugins/issues/10 |
Ok thanks for information =) |
I use this plugin to assign a keyboard hotkey to the "scroll from source" action. It works fine with the normal solution explorer, but not with the Unity Explorer.
It's a very small plugin and the relevant part of the code for the selection is this
I want to implement support for the Unity Explorer in this plugin.
For that, I have a few questions:
getCurrentProjectViewPane
would already work for that, but it returns the normal explorer even when the Unity Explorer is being used.Alternatively, is there a method to get a
AbstractProjectViewPane
that respects the Unity Explorer and would work uniformly with both explorer views, depending on which one is visible?Thanks for reading.
The text was updated successfully, but these errors were encountered: