Skip to content

feat(files): long-press to copy relative file path - #57

Open
369795172 wants to merge 1 commit into
grapeot:masterfrom
369795172:feat/file-browser-copy-path
Open

feat(files): long-press to copy relative file path#57
369795172 wants to merge 1 commit into
grapeot:masterfrom
369795172:feat/file-browser-copy-path

Conversation

@369795172

@369795172 369795172 commented Jun 10, 2026

Copy link
Copy Markdown

Summary

  • Add long-press context menu on file browser rows with Copy path
  • Copies FileNode.path (relative path) to the clipboard
  • Shows a short toast (Path copied) for feedback

Motivation

When referencing files in chat, users currently need to type or guess paths manually. The file list already exposes path on FileNode; this makes it one gesture away from the composer.

Test plan

  • ./gradlew :app:compileDebugKotlin
  • Manual: Files tab → long-press a file → Copy path → paste into chat input → path matches list entry

Made with Cursor

File browser rows now support long-press → Copy path, copying FileNode.path
(relative path) to the clipboard so users can paste it into chat to @-reference
files without manual typing.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant