You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note for Windows users:** There is currently a [known issue](https://github.com/google-gemini/gemini-cli/issues/10616) with installing extensions on Gemini CLI for Windows. The workaround is as follows:
44
44
45
45
1. Follow instructions above to attempt to install the plugin (this will fail).
2. In the command line, navigate to the folder in the home user's path where the code was downloaded (USER is the user's username)
51
-
```bash
52
-
cd %TEMP%
53
-
```
54
-
55
-
3. Locate the folder for the downloaded extension. It will be the latest titled "gemini-extension<hash>" where <hash> is a 6 character string. Change into this directory.
56
-
```bash
57
-
cd gemini-extension123456
58
-
```
52
+
53
+
```bash
54
+
cd %TEMP%
55
+
```
56
+
57
+
3. Locate the folder for the downloaded extension. It will be the latest titled `gemini-extension<hash>` where `<hash>` is a 6 character string. Change into this directory.
58
+
59
+
```bash
60
+
cd gemini-extension123456
61
+
```
59
62
60
63
4. There should be a zip file in this folder called "win32.flutter.zip". Unpack this file using `tar` (available in modern Windows versions) or by right-clicking it in File Explorer and selecting "Extract All...".
@@ -132,24 +135,24 @@ Prepares your staged `git` changes for a clean, high-quality commit. It acts as
132
135
This extension enforces a specific set of coding standards to ensure consistency and quality. These rules are defined in the extension's repository:
133
136
134
137
-**`flutter.md`**: Contains rules and best practices for writing Dart and Flutter code. These rules are opinionated, and we encourage you to review them to ensure they align with your style.
135
-
-**`override`**: Contains important, high-priority rules that are appended to the end of all prompts to ensure they have the most weight.
136
138
137
139
## Connecting to a running app
140
+
138
141
You can connect to an app by providing the Flutter extension with the URL for
139
142
the Dart Tooling Daemon:
140
143
141
144
1.**Run the app**: in VSCode on a target device (iOS, Android, macOS, or web)
142
145
2.**Execute the Copy DTD Uri action**: Open the VSCode Command Runner
143
-
(Cmd+Shift+P, or Ctrl+Shift+P) and type "Copy DTD Uri to Clipboard" to copy the
144
-
DTD URL to your clipboard
146
+
(Cmd+Shift+P, or Ctrl+Shift+P) and type "Copy DTD Uri to Clipboard" to copy the
147
+
DTD URL to your clipboard
145
148
3.**Paste the URL into Gemini CLI**: Enter a prompt like "Connect to the
146
-
Flutter app with this DTD URL: " and paste the URL from your clipboard. You
147
-
should see a "Connection succeeded" message from the
148
-
connect_dart_tooling_daemon MCP tool.
149
+
Flutter app with this DTD URL: " and paste the URL from your clipboard. You
150
+
should see a "Connection succeeded" message from the
151
+
connect_dart_tooling_daemon MCP tool.
149
152
150
153
Alternatively, you can run from the command line with the `--print-dtd` flag:
151
154
152
-
```
155
+
```bash
153
156
$ flutter run --print-dtd
154
157
...
155
158
The Dart Tooling Daemon is available at: ws://127.0.0.1:52636/M3G9d1Q3hFk=
@@ -162,9 +165,9 @@ page on dart.dev or the
162
165
163
166
## Known issues
164
167
165
-
* Running a Flutter app from within Gemini CLI and then triggering a Hot Reload
0 commit comments