Skip to main content
Inline File Context lets you provide specific code selections to DinoAI, helping it understand your code patterns, naming conventions, and focus on exactly the sections you want to discuss or modify.
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:
  1. Highlight the code you want to add as context in your editor
  2. Click “Add to Chat” to send the selected code to DinoAI
  3. 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 Context
With Inline Context

Best Practices
  1. Select relevant code blocks that include enough context for DinoAI to understand the purpose
  2. Be specific in your prompts about what you want DinoAI to do with the highlighted code
  3. Include related functions when selecting code if they’re necessary for understanding
  4. Use for targeted questions rather than broad file-level discussions