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

ChatGPT - Code formatter #813

Open
Zabuzard opened this issue Mar 25, 2023 · 1 comment · May be fixed by #1052
Open

ChatGPT - Code formatter #813

Zabuzard opened this issue Mar 25, 2023 · 1 comment · May be fixed by #1052
Assignees
Labels
enhance command Modify or improve an existing command or group of commands of the bot priority: normal

Comments

@Zabuzard
Copy link
Member

We have a code formatting feature, somewhere around CodeAction (FormatterCodeAction maybe?).

The existing formatter is totally fine, but we should add a ChatGPT powered layer before it. If the ChatGPT service (OpenAiService) returns Optional.empty(), the code should fall back to our existing formatter instead.

To save money, the feature should not consider the ChatGPT layer for really long code.

Care must be taken that ChatGPT only formats the code and doesnt otherwise change it.

@Zabuzard Zabuzard added enhance command Modify or improve an existing command or group of commands of the bot priority: normal labels Mar 25, 2023
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label, comment or add the valid label or this will be closed in 5 days.

@github-actions github-actions bot added stale inactivity-closed Issues that have been closed due to inactivity, but are otherwise valid and might be reopened later labels Apr 25, 2023
@github-actions github-actions bot closed this as completed May 1, 2023
@marko-radosavljevic marko-radosavljevic added valid This issue/PR is validated and ready to be picked. This auto adds items to TJ project board. and removed stale labels May 2, 2023
@marko-radosavljevic marko-radosavljevic removed the inactivity-closed Issues that have been closed due to inactivity, but are otherwise valid and might be reopened later label May 10, 2023
@christolis christolis self-assigned this Mar 12, 2024
@christolis christolis linked a pull request Mar 12, 2024 that will close this issue
@ankitsmt211 ankitsmt211 removed the valid This issue/PR is validated and ready to be picked. This auto adds items to TJ project board. label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance command Modify or improve an existing command or group of commands of the bot priority: normal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants