Example Use Cases
- Ask questions about specific functions or code blocks
- Request changes to particular lines of code
- Debug targeted portions of your files
How to Use Inline File Context
Step-by-Step Instructions:- Highlight the code you want to add as context in your editor
- Click “Add to Chat” to send the selected code to DinoAI
- Add your prompt describing what you want DinoAI to do with the selected code
Inline File Context Example
Here’s how Inline File Context improves DinoAI’s results: Without Inline ContextBest Practices
- Select relevant code blocks that include enough context for DinoAI to understand the purpose
- Be specific in your prompts about what you want DinoAI to do with the highlighted code
- Include related functions when selecting code if they’re necessary for understanding
- Use for targeted questions rather than broad file-level discussions