Skip to content

AI > Update Code > not what expected #3183

Open
@antfitch

Description

@antfitch

What happened?

I've been using Copilot a lot with VS Code. One of the things I can do is highlight code and then opt to update the code. I was expecting a similar behavior with Gemini for Dart Pad.

Steps to reproduce problem

Expected (based on Copilot):

  1. Select code to update.
  2. Click Gemini > Update Code.
  3. Gemini refactors the code & presents the results in a window.

Current:

  1. Copy code.
  2. Click Gemini > Update Code.
  3. Paste the code into the text box.
  4. Click Generate.
  5. Gemini refactors the code & presents the results in a window.

Additional info

This may not be a bug, but I wanted to bring this up as a potential user experience issue.

Browser

Chrome, 133.0.6943.143 (Official Build) (arm64)

Machine

macbook pro, 15.3.1 (24D70)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions