Krazal / nppopenai

OpenAI (aka. ChatGPT) plugin for Notepad++
GNU General Public License v2.0
47 stars 12 forks source link

[feature request] - Threaded Open AI query #4

Closed vinsworldcom closed 11 months ago

vinsworldcom commented 1 year ago

Currently, when I highlight text and press the shortcut for "Ask OpenAI", Notepad++ freezes until the query returns and populates the text. I'm not sure how easy it would be to thread this where the query happens and one can still use Notepad++ as they query processes?

Of course, if you continue to type and change position, then the return query results would be put in the wrong place unless you reset position. You may also have to check to see if the user moved to a different tab. Sure this wouldn't be easy, but a thought for a future release as development (hopefully) continues?

Again, great work - I think this has so many possibilities ...

Cheers.

Krazal commented 1 year ago

Thank you for your comments! I've added thread support and a loading window/dialog, but I'm still thinking about a better (more user-friendly) solution.

Have a nice day!

loader_dialog