File Context
File Context lets you provide specific files to DinoAI, helping it understand your code patterns, naming conventions, and existing structure.
DinoAI offers three ways to add file context:
1. Active Files
Use case: Focus on all files currently open in your editor tabs
How to use:
Have multiple files open in editor tabs
Click the DinoAI icon (🪄)
Click the "@" symbol and "Add Active Files to context"
Add your prompt

2. Open Files
Use case: Focus exclusively on the single file currently selected in your editor
How to use:
Have a file open and selected in your editor
Click the DinoAI icon (🪄)
Click the "@" symbol and "Add Open File to context"
Add your prompt

3. File Selection
Use case: Focus on specific file(s) not currently open in editor
How to use:
Click the DinoAI icon (🪄)
Click the "@" symbol and "Files"
Search and/or select the file(s) to add as context
Add your prompt

File Context in Action
Here's how File Context improves DinoAI's results:
Without Context
Prompt: "Create a staging model for the orders table"
Result: Generic model that may not match your naming or style conventions
With File Context
Prompt: "Create a staging model for the orders table"
+ File Context: an existing staging model
Result: Model that follows your existing patterns for naming, style, and structure
Last updated
Was this helpful?