"Copy file name to clipboard" in PR comments · Issue #10200 · refined-github/refined-github · GitHub
Skip to content

"Copy file name to clipboard" in PR comments #10200

Closed as not planned
Closed as not planned

Description

@Netail

Description

When PRs receive comments they have file path at the top:

Image

Would be nice to add a "Copy file name to clipboard" button next to it like on the file changes page:

Image

This makes it easier to copy over the path to your IDE, instead of having to select then ctrl + c

Example URLs

#10187 (comment)

Activity

  1. fregante commented on Oct 14, 2026

    @fregante
    Member
  2. fregante commented on Oct 14, 2026

    @fregante
    Member

    Duplicate of #7686
    Duplicate of #7258
    Duplicate of #7190
    Duplicate of #6398
    Duplicate of #1912

    See if this works for you: https://github.com/justinsmid/userscripts/blob/master/github-copy-file-path-button.js

  3. locked and limited conversation to collaborators on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions