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

Keyboard shortcut to "Open Prediction" (ctrl + o / cmd + o) conflicts with default PHPStorm shortcut to "Go to Class" #839

Closed
EmilMassey opened this issue Jan 29, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@EmilMassey
Copy link

EmilMassey commented Jan 29, 2025

What happened?

Commit f2bb264 introduced a new keyboard shortcut (Ctrl + o / ⌘ + o) for the "Open Prediction" action. This conflicts with the default PHPStorm shortcut for "Go to Class," which is frequently used by developers. This conflict makes it inconvenient to use both functionalities efficiently.

This change was not documented and did not go through a pull request, making it difficult to notice why the shortcut suddenly stopped working.

Steps to reproduce

  1. Open PHPStorm with Code GPT plugin enabled and default shortcuts
  2. Press ctrl + o (on Windows/Linux) or ⌘ + o (on macOS).

Expected Behavior:
The "Go to Class" dialog should appear, allowing the user to navigate to a class.

Actual Behavior:
Nothing happens

Workaround:
Users can manually reassign the keyboard shortcut for either action in the PHPStorm settings to resolve the conflict.

Suggested Solution:
Consider changing the keyboard shortcut for the "Open Prediction" action to avoid conflicts with commonly used default shortcuts in PHPStorm.

CodeGPT version

2.15.2

Operating System

macOS

@EmilMassey EmilMassey added the bug Something isn't working label Jan 29, 2025
@carlrobertoh
Copy link
Owner

I changed the shortcut key to Ctrl + Shift + Enter. It will be available in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants