Properties2
Icon
Order
50Pi Island provides file reference autocompletion to easily include files in your prompts.
Using File References
- Type
@to start a file reference - A dropdown appears with files from the session's working directory
- Use arrow keys to navigate
- Press Tab or Enter to select
- Press Escape to dismiss
Navigating Directories
File completion supports nested paths:
- Type
@to see root directory contents - Select a directory (shown with folder icon) to enter it
- Type
@src/to list contents of thesrcdirectory - Continue navigating deeper as needed
Directories are shown first (with yellow folder icons), followed by files.
Hidden Files
Hidden files (starting with .) are only shown when you type a dot:
@shows regular files only@.shows hidden files like.gitignore,.env
File Type Icons
Files are displayed with type-specific icons:
| Extension | Icon |
|---|---|
.swift | Swift logo |
.ts, .tsx, .js, .jsx | Document |
.json | Curly braces |
.md, .markdown | Rich text |
.png, .jpg, .gif | Photo |
.yml, .yaml | List |
| Other | Generic document |
How It Works
When you submit a message containing @path/to/file:
- Pi resolves the path relative to the working directory
- The file contents are read and included in the context
- For images, they are sent as attachments
This allows you to easily reference code, configurations, screenshots, or any file relevant to your conversation.