[Feature Feedback] VS Code Integration: Context and In-Editor Diffing #5707
Replies: 8 comments 2 replies
-
This is an awesome addition! Tested most of the stuff on lightning.com's hosted vs code instance/studio environment, and everything is working as expected till now. Thanks for the amazing work you guys are doing - Gemini CLI is now my go-to coding companion (and I have been recommending this throughout my team for development purposes, so much so that a few colleagues have converted to paid users because of 2.5 pro and CLI). Very excited for the future developments! P.S. Tested on lightning because that's the only place where the CLI doesn't work properly for me (I have also tested this on Posit Workbench's hosted VS Code environment as well and of course the "normal" good old VS Code for comparison) - for example, I can't paste text properly if it contains the new line character, and very often the whole CLI auto-scrolls indefinitely from the beginning of the chat session to the end on repeat, etc. But I presume it's more of a lightning problem than a Gemini CLI problem. |
Beta Was this translation helpful? Give feedback.
-
Wow |
Beta Was this translation helpful? Give feedback.
-
Great! |
Beta Was this translation helpful? Give feedback.
-
How to set up multiple "rules" files |
Beta Was this translation helpful? Give feedback.
-
In relation to the context awareness feature, possibility to get context from my whole workspace so get deeper knowledge of my codebase? If we want to start enabling agentic coding by default, individual file context is not enough, also not newbie friendly |
Beta Was this translation helpful? Give feedback.
-
I have been testing it, seems a nice upgrade. I love the in-built default context awareness, i don't really know how deep it is, but it seems by default recognizing properly files, that before used to build up from ground up. I used to ask for a feature, or even random things and it struggled to even "follow me up" now it seems to at least have the pattern correctly to decide which file is most likely to have what i am referring to, then reads. Now based in the ignorance as i don't know how it works in detail:
Again i don't know how it works, but i tested it, has been a great improvement for gemini 2.5 pro awareness of my codebase and as well it feels way more infromed at least to the files to investigate rather than starting from scratch. I also noticed a huge improvement in edit fails, almost tending to zero, and as well zero looping while before it used to. |
Beta Was this translation helpful? Give feedback.
-
Great feedback! Here's what you can do to help with the testing and provide valuable input: Test the core features systematically: Try the context awareness with different file types Switch rapidly between files to test context updates Note exact steps to reproduce any problems Try all accept/reject methods (IDE icons, Command Palette, keyboard shortcuts) |
Beta Was this translation helpful? Give feedback.
-
Thanks to everyone that helped try out this feature! VS Code IDE integration is now live in v0.20.0. If you’ve installed the local build of the companion extension using the You also no longer need to set the ideModeFeature flag. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We're building a new feature to bring tighter integration between Gemini CLI and VS Code. This feature provides the CLI with context from your open workspace, including open files and any selected text.
Starting August 7, 2025, this feature will also include native in-editor diffing. We're planning a full launch next week and are looking for feedback on this pre-release version.
Getting Started
You'll need Gemini CLI version 0.1.18 or higher.
1. One-Time Setup
/ide install
command to install the necessary companion extension."ideModeFeature": true
to your project's.gemini/settings.json
file.gemini --ide-mode-feature
command to enable the integration for your current session only.2. Usage
After setup, you can use Gemini CLI with IDE integration from any VS Code integrated terminal. You'll know it's enabled when you see the active file context above the input box, like this:
What to Test
Please share any feedback or issues you encounter by opening a new discussion or issue.
Context Awareness
Commands
/ide enable
&/ide disable
: Confirm these commands work as expected and that the feature's state is remembered across sessions./ide status
: Check that the status messages are clear, helpful, and provide actionable steps to resolve issues.Diffing (Available August 7, 2025)
Test accepting and rejecting changes in different ways to ensure consistency.
Ctrl + S
/Cmd + S
to accept,Esc
to reject).Beta Was this translation helpful? Give feedback.
All reactions