AI-Assisted Features
Refactor code into modern languages with AI-powered GitLab Duo

Refactor code into modern languages with AI-powered GitLab Duo

8/26/2024 · Michael Friedrich

What this post added

This post introduces AI-powered code refactoring capabilities, allowing developers to modernize codebases by migrating between language versions (e.g., Java 7 to Java 8) and across different C++ standards (e.g., C++03 to C++14, C++23 to C++11), and even refactor between languages (e.g., C to Rust, Perl to Python). It demonstrates the use of GitLab Duo Code Suggestions and Chat within IDEs like VS Code and JetBrains for generating, explaining, and refactoring code, leveraging advanced LLMs like Anthropic Claude 3.5.

Read the original post ↗