Skip to main content

@folders

The @folders symbol lets you include an entire folder as context in chat.

Usage

After @folders, enter the path of the folder you want to include. The path is relative from your current workspace.

For example, to include the entire src folder:

@folders src

Or to include a specific subfolder:

@folders src/components

Limitations

Folder context is only available when long context chat is enabled. This is because the context of an entire folder exceeds the context window of regular conversations.

Long Context Models

Some AI models are specifically designed for handling long contexts. These models can process much larger amounts of text at once, making them ideal for tasks that require understanding extensive codebases or documentation.

Available Models

  • GPT-4 32k: OpenAI's GPT-4 model with a 32k token context window
  • Claude 100k: Anthropic's Claude model with a 100k token context window

Use Cases

Long context models are particularly useful for:

  • Analyzing entire codebases
  • Understanding complex documentation
  • Processing multiple files simultaneously
  • Handling large code refactoring tasks