Home

>

CodeSpell Codeing Assistant

>

Multi-File Context Handling

Using the CodeSpell Coding Assistant

Step
4

Multi-File Context Handling

If a function relies on definitions from multiple files (e.g., controllers, services, and models), CodeSpell allows context-aware generation by using the @ symbol to import multiple related files.
Steps:
Open the Chat Panel.
Fig 8: Demonstrates accessing the Chat Panel
Click the @ icon and add related files.
Fig 9: Explains how developers can include multiple files for better context.
Ask your question or apply a spell.
CodeSpell uses the entire project context to provide suggestions.
Fig 10: Shows how CodeSpell provides suggestions using project contexts