Skip to content

Pinned Active File is not correct #6322

@ckhsponge

Description

@ckhsponge

Describe the bug
In Amazon Q the pinned Active File should always be in context but is not. When launching, the initial file is in context. After navigating to another file Q believes the initial file viewed is still the active one. This is inconvenient when you desire Q to make updates to the Active File as Q must guess what file to use or do a search or just pick blindly and start making changes that make no sense.

To reproduce

  1. Launch RubyMine
  2. View file a.rb
  3. Ask Q 'What file am I viewing?'
  4. 'a.rb'
  5. View file b.rb
  6. Ask Q 'What file am I viewing?'
  7. 'a.rb'

Expected behavior
'b.rb'

Your Environment

  • OS: Mac 26.3.1
  • JetBrains product: RubyMine
  • JetBrains product version: 2025.3.4
  • AWS Toolkit version: Amazon Q 4.0.253
  • SAM CLI version:
  • JVM/Python version:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions