Google has updated its Gemini Code Assist extension for IntelliJ and Visual Studio Code development environments. The programmer assistance tool incorporates new capabilities focused on codebase management and interaction with the project context. This evolution seeks to integrate AI more deeply into the developer's daily workflow.
Codebase Analysis and Contextual Actions 🤖
The update introduces the Codebase Context functionality, which allows the AI to analyze and understand the complete project structure. Developers can query their code, such as asking for the location of specific functions or requesting explanations of modules. Additionally, Quick Actions are added, such as generating tests for a selected method or refactoring code directly from the AI's comment.
Does your pair programmer now also read the documentation you ignore? 😅
It's a notable advancement that the AI can dig into every corner of the code to answer questions. Just what we needed: an assistant that actually reads the comments we wrote three years ago and that we no longer understand ourselves. Now, when it asks what does this function do?, instead of responding I don't know, it was a past me, you can blame Gemini. That said, let's hope it doesn't develop feelings of resentment for having to analyze our spaghetti code.