Gemini Code Assist 4.0: They are GETTING READY for GEMINI 3.0! Next Edit Suggestions, Fast Edit!

By AICodeKing

Share:

Key Concepts

  • Gemini Code Assist: An AI-powered coding assistant.
  • VS Code Extension: The Gemini Code Assist integration for Visual Studio Code.
  • IntelliJ Plugin: The Gemini Code Assist integration for JetBrains IntelliJ IDEA.
  • Telemetry Behavior: Data collection settings for usage and diagnostics.
  • Remote Codebase Awareness: The ability of the AI to understand an entire remote repository, not just open files.
  • Code Customization: The AI's capability to use an organization's internal codebase and documentation for generating responses.
  • Markdown Docs Indexing: The feature allowing the AI to read and utilize internal Markdown documents (e.g., architecture notes, runbooks) for context.
  • Agent Mode: An advanced mode for Gemini Code Assist that allows it to perform complex, multi-step tasks and interact with external services.
  • MCP Servers (Managed Cloud Platform Servers): External services that Agent Mode connects to for integrations.
  • Inline Diff: A feature that highlights code changes (additions in green, deletions in red) directly within the editor view.
  • Checkpoints: A mechanism to revert files to their state before AI-generated suggestions were applied.
  • Next Edit Predictions: A preview feature that suggests upcoming code blocks or lines as you type.
  • Usage Dashboard: A monitoring tool for administrators and team leads to track Gemini Code Assist adoption and activity.
  • Release Channels: Options (e.g., Preview, GA) for users to opt into early features or stable releases.
  • Prompt Library: A collection of saved prompts for repeatable workflows.
  • @ Mention for Context Prioritization: A syntax (@repo_name) used in prompts to force the AI to focus on a specific remote repository.
  • /deploy Command: A custom slash command in VS Code Agent Mode for deploying web applications to Cloud Run.
  • Preview Block for Chat Suggestions: A UI enhancement that displays AI-generated code suggestions in a clean, collapsible block within the chat panel.
  • Quick Preview: A consolidated view for multi-file chat suggestions, allowing users to navigate between suggested changes.

Gemini Code Assist Updates Overview

Gemini Code Assist has received continuous weekly updates since mid-August, focusing on deeper project awareness, improved diffs, smarter previews, and quality-of-life fixes. A significant shift is the increasing centrality of Agent Mode. These updates enhance day-to-day coding efficiency, particularly for users of VS Code and IntelliJ.


August Updates

  • August 26th: Telemetry Behavior Change

    • Detail: Gemini Code Assist telemetry settings now override VS Code's native telemetry toggle.
    • Impact: If Gemini Code Assist logs are enabled, telemetry will be collected even if VS Code's general telemetry is off. This is crucial for administrators and teams focused on auditing and diagnostics.
  • August 27th & 29th: Enhanced Context Awareness

    • Full Remote Codebase Awareness:
      • Detail: The chat assistant can now understand the entire remote repository, not just currently open files.
      • Application: Users can ask broad questions like "what does this repository do?" and receive answers based on the full codebase context, which is highly beneficial for onboarding new team members or understanding legacy projects.
    • Markdown Docs Indexing for Code Customization:
      • Detail: Code customization now integrates internal Markdown documentation (e.g., architecture notes, runbooks).
      • Benefit: The AI can use these internal documents to provide more accurate and context-specific answers, reducing the need for back-and-forth clarification and aligning suggestions with project-specific conventions.
      • Caveat: Requires careful consideration of which repositories are indexed and who has access.

September Updates

  • September 3rd: Context Prioritization with @ Mention

    • Detail: Users can now mention a remote repository using @repo_name in their prompt to prioritize context.
    • Application: This allows developers working across multiple repositories (e.g., a Go backend and a TypeScript frontend) to direct the assistant's focus to the relevant repository for the current task.
  • September 4th: Usage Dashboard

    • Detail: A pre-built dashboard is available to monitor organization-level usage, including activity volumes and trends.
    • Benefit: Useful for administrators and team leads to track adoption rates and identify high-usage teams.
  • September 9th: IntelliJ Additions

    • Attach Terminal Output to Chat:
      • Detail: Users can directly attach terminal output to the chat.
      • Application: Excellent for debugging build failures, flaky tests, or CLI errors, allowing the AI to reason about the output.
    • Regenerate Most Recent Prompt:
      • Detail: A basic but essential feature to regenerate the AI's response if the initial output is unsatisfactory.
  • September 10th: VS Code Agent Mode Upgrade (/deploy)

    • Detail: A new custom slash command, /deploy, is introduced for Cloud Run within Agent Mode.
    • Process: This command automates building, containerizing, pushing, and wiring up an existing web application, providing a public URL upon completion.
    • Prerequisites: Requires installing the Cloud Run MCP server and enabling Agent Mode.
    • Application: Ideal for quick demos or internal previews, offering a fast, opinionated deployment experience similar to CLI helpers like NPX Versel.
  • September 11th: VS Code Chat Workflow Polish & Release Channels

    • Chat Workflow Enhancements:
      • Edit Prior Prompt: Users can edit a previous prompt and regenerate the response based on the edits.
      • Regenerate Latest Response: Direct regeneration of the most recent AI response.
      • Delete Single Prompt/Response Pair: Ability to remove individual chat entries without clearing the entire history.
    • Release Channels:
      • Detail: Introduction of "Preview" and "GA" (General Availability) channels.
      • Benefit: Users can opt into the Preview channel for early access to new features or stick to GA for stability and SLA. This streamlines testing new capabilities for teams.
  • September 18th: Code Customization Status Indicators (VS Code)

    • One-time Banner: A banner notifies users when code customization has been enabled for them.
    • Status Chip: Clicking the Gemini icon now displays the current status of code customization, confirming whether requests are using the organization's codebase context.
  • September 23rd: Major GA Features & Sign-in Tweak

    • Inline Diff (VS Code - GA):
      • Detail: Edits generated by the AI are now highlighted inline within the editor (green for additions, red for deletions).
      • Impact: A significant productivity boost, allowing users to review changes without leaving their current editor view, making the integration of generated code safer and more efficient.
    • Revert to Checkpoint (IntelliJ - GA):
      • Detail: Users can roll back affected files to their state before AI suggestions were applied.
      • Benefit: Provides a safety net for integrating AI-generated code.
    • Prompt Library (IntelliJ):
      • Detail: Access to saved prompts by typing @ and selecting from a library.
      • Application: Useful for repeatable workflows, such as "add logging" or "write unit tests."
    • Sign-in Tweak:
      • Detail: Users can copy the sign-in link and paste it manually into a browser.
      • Benefit: Facilitates sign-in in lockdown or restricted network environments.
  • September 26th: VS Code Next Edit Predictions (Preview)

    • Detail: Predicts upcoming code suggestions throughout the file being edited.
    • Interaction: Users can cycle through choices, dismiss them, or ignore and continue typing.
    • Application: Particularly useful for boilerplate-heavy files (e.g., large React forms, verbose configurations), saving keystrokes when the prediction is accurate.
  • September (General): Performance & Stability

    • Detail: Maintenance updates (VS Code 2.50.0.Z and IntelliJ 1.31.3) focused on performance and stability improvements.
    • Key Takeaway: The general availability (GA) of inline diffs and checkpoints is highlighted as a crucial step towards "diff-first acceptance," limiting risky merges.

October Updates: Shift Towards Agent Mode

  • October 2nd: Tools Deprecation & Agent Mode Centralization

    • Detail: Older "tools" functionality was deprecated and replaced by Agent Mode (in preview). After October 14th, using old tool names will no longer connect to the legacy tools.
    • New Paradigm: Agent Mode now connects to external services through MCP servers.
    • Benefit: MCP is becoming a common pattern across ecosystems (e.g., Claude), leading to more uniform integrations.
    • Migration Tax: Users who relied on older tool shortcuts will need to upgrade their workflow to Agent Mode and configure MCP servers, but this leads to a cleaner long-term solution.
  • October 8th: IntelliJ Next Edit Predictions & Preview Blocks for Suggestions

    • Next Edit Predictions (IntelliJ - Preview):
      • Detail: The same inline foresight feature seen in VS Code is now available in IntelliJ.
      • Application: Useful for repetitive structures in languages like Kotlin or Java, especially for service boilerplate.
    • Chat Code Suggestions in Preview Block (IntelliJ - Default):
      • Detail: AI-generated code suggestions now display inside a preview block by default.
      • Impact: Significantly improves readability, allowing users to skim suggestions faster and enhancing the overall visual appeal within the chat panel. This is a small UX change with a noticeable daily impact.

Feature Walkthrough & Demonstrations

The speaker provides a quick walkthrough demonstrating several key features:

  • Inline Diff: Shows edits directly in the editor with green for additions and red for deletions. Suggestions stack inline, allowing users to skim, accept individual chunks, or apply all changes without leaving the file.
  • Checkpoint Indicator: Appears alongside the chat. A single click on "Revert" restores files to their exact state before AI edits.
  • Chat Code Preview Block: Displays AI-generated code in a clean, collapsible block within the chat panel. Configurable in settings for collapsed or expanded view, making longer snippets easier to skim.
  • @ Picker for Context: Demonstrates selecting a specific remote repository using the @ picker to prioritize context, ensuring responses focus immediately on that repository.
  • Usage Dashboard: Opens a simple view of organization-level metrics, including requests and adoption trends, useful for team leads.
  • Next Edit Predictions: Shows a small badge in the gutter. Users can cycle through upcoming code blocks, accept, dismiss, or ignore and continue coding, particularly useful for boilerplate.
  • Quick Preview (Multi-file Suggestions): Lists multi-file chat suggestions in one place. Clicking any file jumps to it with the first suggestion highlighted.
  • Full Remote Codebase Awareness: Illustrated by asking broad repository questions and receiving answers referencing the entire remote codebase.
  • Markdown Docs Indexing: Shows how ADRs (Architecture Decision Records) and runbooks are pulled in, ensuring responses align with internal conventions.
  • Tools Deprecation Notice: Explains the upcoming removal of old tool names and the shift to Agent Mode using MCP servers for integrations.
  • Code Customization Status Chip: Appears once enabled, and clicking the Gemini icon provides a clear on/off readout, confirming its active status.

Synthesis and Conclusion

The recent updates to Gemini Code Assist represent an "insanely good set of upgrades," significantly enhancing the developer experience. The combination of Agent Mode, better diffs, and smarter context forms a powerful trio. The general availability of inline diff and checkpoints makes everyday code editing safer and more efficient by limiting risky merges and providing easy rollback options. Preview features like next edit predictions indicate the future direction of proactive AI assistance. For IntelliJ users, the preview block for chat responses is a small but impactful UX improvement that pays daily dividends in readability. For teams, console-level code customization and repo groups are genuinely useful for aligning AI assistance with organizational standards and specific project contexts. The speaker expresses strong approval and personal usage of these features, highlighting their practical value.

Chat with this Video

AI-Powered

Load the transcript when you're ready to chat so the initial page stays lighter.

Ready to summarize another video?

Summarize YouTube Video