docs: Drag and drop files (#2740)

This commit is contained in:
Rizel Scarlett
2025-05-31 23:21:49 -04:00
committed by GitHub
parent 0c042010ff
commit 179da551f8

View File

@@ -262,3 +262,31 @@ Search allows you to find specific content within your current session. The sear
::: :::
</TabItem> </TabItem>
</Tabs> </Tabs>
## Share Files in Session
<Tabs>
<TabItem value="ui" label="Goose Desktop" default>
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.
</TabItem>
<TabItem value="cli" label="Goose CLI">
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<tab>
# Use shell expansion
Review these test files: ./tests/*.rs
```
</TabItem>
</Tabs>