PureCode AI
  • PureCode AI Extension
  • Getting Started
    • Getting Started
  • Features
    • Chat
      • @Features
        • @Docs
        • @Files
        • @Folder
        • @Code
        • @Git
        • @Terminal
        • @UI
    • Dual Operation Modes
      • Normal Mode [ Chat ]
      • Agent Mode
      • Switching Between Modes
    • Context Awareness
      • Normal Indexing
      • Advance Indexing
    • Human-like Code Understanding with @codebase
    • Interactive Planning Mode
    • Adaptive Learning Preferences
    • Global and Project Custom Instructions
      • Global Instructions
      • Project Chat Instructions:
    • Docs Indexes and UI Docs Indexes
      • Docs Indexes
      • UI Docs Indexes
    • "Reject" and "Accept"
    • Image-to-Code
    • Video Tutorial's
    • Prompting Techniques
    • Chat Vs Codebase Chat
    • Solving Errors
  • Frequently Asked Questions
  • Changelog
Powered by GitBook
On this page
  1. Features
  2. Chat
  3. @Features

@Files

PurecodeAI allows you to easily reference and interact with your project's files directly through the AI interface, streamlining your development process.

Previous@DocsNext@Folder

Last updated 25 days ago

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.