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

Press Enter to confirm and for automatic line wrapping in PowerShell ISE #5

Open
Davider-code opened this issue Mar 1, 2024 · 1 comment

Comments

@Davider-code
Copy link

I usually use PowerShell ISE for code editing, and I have encountered two issues:

  1. After inputting a question, I need to press Enter three times to confirm. Can I use Ctrl+Enter to confirm directly?
  2. When the text length of ChatGPT's answer is too long, a scrollbar appears, displaying it all in one line, which is not very convenient for reading. Can it automatically wrap at the width of the window?
    demo Gif:
    gpt
@mkht
Copy link
Owner

mkht commented Mar 1, 2024

Hmmm, I think it's a bit difficult, I also thought of a way to Ctrl+Enter to send, but there doesn't seem to be a good way to get it to work correctly in all of Terminal, PowerShell ISE, and VSCode. Especially the ISE console is very specific and many of the tricks available in the regular terminal doesn't work.

I wrote Enter-ChatGPT as a small demonstration and do not intend to implement it in a much more complicated way.

I am sorry that I could not satisfy your request.

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

2 participants