Skip to content

The inline chat regenerates the whole file at the cursor position #521

@gkostov

Description

@gkostov

Describe the bug
The content generated by the inline chat includes the entire file and not only the requested code.

To Reproduce
Put the cursor where the code should be generated

Image

Open the inline chat and request some code to be generated

Image

The result is

Image

Expected behavior
Only the <button></butotn> should be inserted at the cursor position. If there is the need to modify other parts of the file then those shall be changed as well.

Screenshots

Your Environment:

  • OS: OSX Sequoia 15.6.1 (Arm M2)
  • Eclipse product (EE, C++, etc): Eclipse IDE for C/C++ Developers
  • Eclipse product version: 2025-12 M3 (4.38.0 M3)
  • Amazon Q for Eclipse plugin version: 2.6.1.202511212047
  • JVM version: OpenJDK Runtime Environment 21.0.7+6-LTS

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions