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

Feature Request: [Chat GPT: Add Comments] prompt #19

Closed
nathanchase opened this issue Dec 16, 2022 · 3 comments
Closed

Feature Request: [Chat GPT: Add Comments] prompt #19

nathanchase opened this issue Dec 16, 2022 · 3 comments

Comments

@nathanchase
Copy link

In addition to:

  • Add Tests
  • Find bugs
  • Optimize
  • Explain

I'd like to be able to select a block of code, and ask ChatGPT to add comments to the code, via the right-click context menu.

Or better yet, in the extension options, allow for the user to add their own prompts.

I know the workaround is just to edit one of the defaults to send a different prompt, but it would be nicer to have the option to customize all the prompts.

@gencay
Copy link
Owner

gencay commented Dec 16, 2022

great ideas @nathanchase. Thanks for bringing it up here and keep ideas coming! This would be a nice addition definitely. I will keep you posted!

@gencay
Copy link
Owner

gencay commented Dec 26, 2022

@nathanchase I added a new command Add comments for the following code prompt prefix - you can override it as usual. Please update your extension to v2

@gencay gencay closed this as completed Dec 26, 2022
@gencay
Copy link
Owner

gencay commented Dec 28, 2022

@nathanchase there is another new feature to add your custom prompt prefix using the ad-hoc command in the context menu. See this issue or readme for more details on how to use it: #28 (comment)

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