@Files
PurecodeAI allows you to easily reference and interact with your project's files directly through the AI interface, streamlining your development process.
Key Features:
File Referencing in AI Input Boxes:
Usage: In areas like Chat and Cmd K, type
@
to see a list of your project files. Select the desired file to include it as context.
File Path Preview: PurecodeAI displays the file's path to ensure accuracy, especially when multiple files have the same name.

Handling Long File References in Chat:
Automatic Chunking: For lengthy files, PurecodeAI divides them into smaller parts.
Relevance-Based Reranking: It prioritizes the most relevant sections to your query.
Cmd K Chunking Strategies:
Auto Strategy: PurecodeAI automatically selects the best method to handle file references based on the file size:
Full File: Uses the entire file as context.
Outline: Uses the file's outline.
Chunks: Divides the file into smaller parts and selects the most relevant one.
Drag and Drop Functionality:
Ease of Use: Drag and drop files from the sidebar into Chat or Cmd K to add them as context.
Streamlined Workflow: Simplifies incorporating file contents into your AI interactions.
Last updated