mpociot / chatgpt-vscode

A VSCode extension that allows you to use ChatGPT
4.99k stars 365 forks source link

[Suggestion] "ChatGPT: Check comments" #54

Closed sergei-kashlikov closed 1 year ago

sergei-kashlikov commented 1 year ago

It would be great to have an ability to select the comment section and ask ChatGPT to check the grammar, or to make more sense in the comments. For example, I write comments in English language, but it isn't my native language and I make mistakes or I use incorrect words to describe the context. Or, may be, ask it to even write some template first.

timkmecl commented 1 year ago

Hi, if that's something you would be using often, you can change in the settings the prompt used for Write documentation command, for example, so that you order it to rewrite the comments using better grammar/to add comments to the code/etc.