Improve code quality through code reviews utilizing artificial intelligence such as ChatGPT, Google Bard and other emerging AI technologies in the market. These tools can help in identifying potential issues, improving code readability, and enhancing overall software functionality. By utilizing these AI capabilities, developers can streamline their code review processes and ensure their code is of the highest quality.
Features:
- Support to code review any programming language
- Parameterize the accuracy of code suggestions
- Optimize time based on your needs
- Language preference for AI messages (English, Spanish and Portuguese)
- Compatible with all Jetbrains family products.
Coming soon:
- Google Bard Support
- Connection test in plugin configuration screen
- Validation of configuration screen fields
![a title AI Code Review Settings](/Yonatha/ai-code-review/raw/master/screenshot/screanshot4.png)
Select code to review
![a title Alt text](/Yonatha/ai-code-review/raw/master/screenshot/screanshot2.jpeg)
Learn from AI suggestions
![a title Select code to review](/Yonatha/ai-code-review/raw/master/screenshot/screanshot6.png)
- 1. Access the main menu File -> Settings or press Ctrl+Alt+S
- 2. Go to Tools -> AI Code Review
- 3. Insert your OpenAI API Key into the Secret Key field (generate your key here https://platform.openai.com/account/api-keys
- 4. Select the code suggestion language in the AI Interaction Language field
- 5. Click Ok
- 6. Great! Open a file containing the code you want to review
- 7. Select the code snippet and click on the Code -> AI Code Review menu, or right-click and then select AI Code Review in context menu
- 8. Wait while the AI performs the code review
- 9. Check the results and suggestions in the IDE's native clipboard window
- 10. Enjoy!
release/1.3.2
- Atualização do OpenAIClient para integrar a versão para uso de Chat Completions da Api do OpenAI
- Adição dos modelos gpt-3.5-turbo, gpt-4, gpt-4-turbo-preview, dall-e-3, davinci-002
public class Program {
public static void main(String[] args) {
Integer age = 25;
if (age >= 5 && age <= 7) {
return "Category A"
} else if (age >= 8 && age <= 10) {
return "Category B";
} else if (age >= 11 && age <= 13) {
return "Category C";
} else if (age >= 14 && age <= 17) {
return "Category D";
} else if (age >= 18) {
return "Category E";
} else {
return "Age not valid";
}
}
}