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

Please support Enter shortcut, Experience using it like a web page #27

Open
fwnan opened this issue Apr 16, 2023 · 5 comments
Open

Please support Enter shortcut, Experience using it like a web page #27

fwnan opened this issue Apr 16, 2023 · 5 comments

Comments

@fwnan
Copy link

fwnan commented Apr 16, 2023

When the idea opens the chatgpt page box, it should take over the Enter shortcut key for quick interaction

@LiLittleCat
Copy link
Owner

@fwnan Are you suggesting adding a shortcut for opening the tool window?

@fwnan
Copy link
Author

fwnan commented Apr 24, 2023

@LiLittleCat No, I suggest pressing the Enter key to send the answer like a web page, rather than manually clicking the send button now.

@wq287627997
Copy link

I think so too,This would be very convenient.

@LiLittleCat
Copy link
Owner

Hello @fwnan, @wq287627997,
I've just upgraded to IntelliJ IDEA 2023.2.5 (Ultimate Edition, Build #IU-232.10227.8, released on November 9, 2023). Excitingly, I discovered that the 'Enter' shortcut is now supported by JCEF in this version. Notably, when typing in the input box, the icon at the end lights up, indicating that pressing Enter will send the message. I highly recommend updating to this latest version to see if it addresses your concerns as well.

image

image

Additionally, if you're unable to open the plugin in your current version, please refer to #29 (comment) for assistance.

@MooMinIL
Copy link

MooMinIL commented Dec 21, 2023

SOLVED! Edit below!
Just wanted to update i upgraded to PyCharm 2023.3.1 (Community Edition) Build #PC-233.11799.298, built on December 12, 2023 and the Enter key to send prompts still doesn't work 😔

Edit: OK! so after playing around with ChatGPT in an external browser, i noticed that i had the same issue of the Enter key not sending my query when i shrunk down the browser window to a point where the view became only the conversation without the menu on the left (the one showing a list of old conversations)!
This means that if you extend the Chat GPT window of the plugin in the IDE to a point where the left menu pops up in the window, you can click enter directly to send a query.

This means the bug is on the ChatGPT interface side and not the plugin side.

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

4 participants