Skip to content

Commit e67c98c

Browse files
docs: clarify folder mention format and description in context mentions (#121)
1 parent fe653e8 commit e67c98c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/basic-usage/context-mentions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Context mentions are a powerful way to provide Roo Code with specific informatio
1515
| Mention Type | Format | Description | Example Usage |
1616
|--------------|--------|-------------|--------------|
1717
| **File** | `@/path/to/file.ts` | Includes file contents in request context | "Explain the function in @/src/utils.ts" |
18-
| **Folder** | `@/path/to/folder/` | Provides directory structure in tree format | "What files are in @/src/components/?" |
18+
| **Folder** | `@/path/to/folder` | Includes contents of all files directly in the folder (non-recursive) | "Analyze the code in @/src/components" |
1919
| **Problems** | `@problems` | Includes VS Code Problems panel diagnostics | "@problems Fix all errors in my code" |
2020
| **Terminal** | `@terminal` | Includes recent terminal command and output | "Fix the errors shown in @terminal" |
2121
| **Git Commit** | `@a1b2c3d` | References specific commit by hash | "What changed in commit @a1b2c3d?" |
@@ -39,14 +39,14 @@ Context mentions are a powerful way to provide Roo Code with specific informatio
3939

4040
<img src="/img/context-mentions/context-mentions-2.png" alt="Folder mention example showing directory contents being referenced in the chat" width="600" />
4141

42-
*Folder mentions display directory structure in a readable tree format.*
42+
*Folder mentions include the content of all files within the specified directory.*
4343
| Capability | Details |
4444
|------------|---------|
45-
| **Format** | `@/path/to/folder/` (note trailing slash) |
46-
| **Provides** | Hierarchical tree display with ├── and └── prefixes |
47-
| **Includes** | Immediate child files and directories (not recursive) |
48-
| **Best for** | Understanding project structure |
49-
| **Tip** | Use with file mentions to check specific file contents |
45+
| **Format** | `@/path/to/folder` (no trailing slash) |
46+
| **Provides** | Complete contents of all files within the directory |
47+
| **Includes** | Contents of all files directly within the folder (not recursive) |
48+
| **Best for** | Providing context from multiple files in a directory |
49+
| **Tip** | Be mindful of context window limits when mentioning large directories |
5050

5151
### Problems Mention
5252

0 commit comments

Comments
 (0)