From 179da551f8848ba3a262d57aac7600b474428c63 Mon Sep 17 00:00:00 2001 From: Rizel Scarlett Date: Sat, 31 May 2025 23:21:49 -0400 Subject: [PATCH] docs: Drag and drop files (#2740) --- .../docs/guides/managing-goose-sessions.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/documentation/docs/guides/managing-goose-sessions.md b/documentation/docs/guides/managing-goose-sessions.md index 02e88e4c..2e660507 100644 --- a/documentation/docs/guides/managing-goose-sessions.md +++ b/documentation/docs/guides/managing-goose-sessions.md @@ -261,4 +261,32 @@ Search allows you to find specific content within your current session. The sear Your specific terminal emulator may use a different keyboard shortcut. Check your terminal's documentation or settings for the search command. ::: + + +## Share Files in Session + + + + Share files with Goose in three ways: + + 1. **Drag and Drop**: Simply drag files from your computer's file explorer/finder and drop them anywhere in the chat window. The file paths will be automatically added to your message. + + 2. **File Browser**: Click the paperclip icon (📎) in the bottom left corner of the chat input to open your system's file browser and select files. + + 3. **Manual Path**: Type or paste the file path directly into the chat input. + + + You can reference files by their paths directly in your messages. Since you're already in a terminal, you can use standard shell commands to help with file paths: + + ```bash + # Reference a specific file + What does this code do? ./src/main.rs + + # Use tab completion + Can you explain the function in ./src/lib + + # Use shell expansion + Review these test files: ./tests/*.rs + ``` + \ No newline at end of file