Skip to content

Links to project files open empty browser tab #82

@aleksey-korolev

Description

@aleksey-korolev

Describe the bug
When Amazon Q responds in the chat panel with file path links,
clicking them opens an empty browser tab instead of navigating to the file in the IDE editor.

Expected behavior:
Clicking a file link should open that file at the specified line directly in the GoLand editor.

Current behavior:
The link opens in the system browser as a URL, which is not useful.

Suggested implementation:
Use the IntelliJ Platform API to navigate to files:
OpenFileDescriptor or NavigationUtil to open file at a specific line.
Links could use a custom idea:// scheme or be rendered as clickable
IDE-native hyperlinks in the chat panel.

IDE: GoLand (IntelliJ-based)
Plugin: Amazon Q Developer

To reproduce

Open Amazon Q plugin window in Goland
Ask any question about project source code.
Amazon Q provides answer with references to line in code files.
Click link to file.

Your Environment

  • OS: Mac Tahoe 26.1
  • JetBrains product: Goland
  • JetBrains product version: GoLand 2026.1.1, Build #GO-261.23567.143, built on April 23, 2026
  • Amazon Q version: 4.2.261

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions