obiscr / ChatGPT

This project is a plugin that supports ChatGPT running on JetBrains series IDE.
https://plugins.jetbrains.com/plugin/20603-chatgpt
Other
1.01k stars 227 forks source link

[Feature Request] Comment code #274

Closed angeousta closed 1 year ago

angeousta commented 1 year ago
  1. You select a portion of code (or a file)
  2. Right click on the selected code (or file)
  3. Menu => Ask ChatGpt => Comment

And the code gets commented

obiscr commented 1 year ago

I'm sorry, I didn't quite understand. Could you be more specific?

angeousta commented 1 year ago

You can have chatgpt comment the code (a selected text or a whole file)

obiscr commented 1 year ago

This is a good idea. We currently have an ask codebase function to process the entire file: https://chatgpt.gold/blog/posts/2023/Ask-codebase-is-now-supported/

So there is no feature to provide ask gpt for individual files, currently only selected text is supported though. We will consider whether adding this feature at a later.