-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Find Usages is not working with cmd + click when plugin is active #72
Comments
You are probably using LSP4IJ mode, correct? It seems that LSP4IJ always sends a I believe you are supposed to use the LSP Reference(s) action instead (right click menu → Go To): Let me know if that works for you. |
I confirm that. As you said Ctrl+Click consumes It could be doable to consumes other LSP request like |
I'm actually fine with |
@InSyncWithFoo yep, exactly I'm using LSP4IJ mode. It's just a lifelong habit to use this shortcut for me. So yeah, kinda hard to switch. I'm also a little bit confused with your second plugin which get updates but marked as "will be merged with |
I will be working on merging them next week; the other one's last release was to fix a major bug that was blocking the merge. Ideally, the new one (this one) will migrate all existing configurations and retain previous functionalities, so now you can really just pick whatever work for you. |
You mean that with the LSP support from Jetbrains, cmd+click open references? @InSyncWithFoo can you confirm that please (I cannot test since I have no license for Ultimate) If it is working, @InSyncWithFoo I think LSP4IJ should provide to customize this cmd+click (by defualt just definition), but you could customize it to have reference too,please create an issue in LSP4IJ. |
@angelozerr The native LSP also triggers |
@angelozerr I believe it is lsp support from jetbrains as it does not require any additional plugins (LSP4IJ) |
LSP support from Jetbrains is not free and it is not available for IJ Community, it is one reason why we have created LSP4IJ |
@angelozerr Understood. @InSyncWithFoo Just wanted to confirm that this plugin does not trigger usage window in either console or LSP4IJ modes. (Unlike it's sister plugin). Both shortcuts (Find Usages Popup: |
@pySilver I don't think so. Command line mode should never interfere with Find Usages or similar features. At least on my machine, Ctrl + Click triggers the native panel just fine. |
@InSyncWithFoo hm. I've tested once again and yes I can confirm that in command line mode |
I'm a little confused about the take-away from this thread. Some basic questions:
Thanks. |
@yang You have access to both, but it is recommended that you uninstall LSP4IJ to avoid potential problems (might not be an issue as long as other plugins don't use the native client); the differences are documented here. You can freely choose any of them using the Running mode setting (Tools | Pyright); restarting the IDE is necessary for this to work correctly. It seems that the native client never sends |
@yang You are still using an old version of the plugin. Please update to PyCharm 2024.2 and try again. |
Ah, thanks - I had upgraded but it was only taking smaller steps within 2024.1 first. Had to check for upgrades a couple more times. |
What happened?
This
Find Usages
popup is not triggered withcmd + click
when plugin is active.Steps to reproduce
Activate plugin & Try to navigate with cmd + click.
Relevant log output or stack trace
No response
Operating system
macOS
The text was updated successfully, but these errors were encountered: