LiLittleCat / intellij-chatgpt

A plugin that integrates ChatGPT and other third-party mirror sites into JetBrains IDEs.一个将 ChatGPT 和其他第三方镜像网站整合到 JetBrains IDEs 的插件。
https://plugins.jetbrains.com/plugin/20629-chatgpt-tool
Apache License 2.0
142 stars 19 forks source link

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

Open fwnan opened 1 year ago

fwnan commented 1 year ago

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

LiLittleCat commented 1 year ago

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

fwnan commented 1 year ago

@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 commented 1 year ago

I think so too,This would be very convenient.

LiLittleCat commented 10 months ago

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 https://github.com/LiLittleCat/intellij-chatgpt/issues/29#issuecomment-1824067404 for assistance.

MooMinIL commented 9 months ago

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.