Context
Introduction
Feisuo JavaAI supports multiple types of context in all conversations, such as the current file, selected code, modified code, and the entire code repository. You simply select the appropriate context type, choose the relevant files, and describe your task in the input box. Feisuo JavaAI will intelligently combine your selected context with your requirements to efficiently complete the requested task.
Adding Context
Method 1: Click the "Add Context" button in the input box, then select a context type and the corresponding file(s).
Method 2: Type the shortcut symbol "#" in the input box to quickly bring up the context selection menu and choose your desired context type and files.
Search Files: In the context selection search box, you can enter keywords to quickly locate and select the relevant files.
Multi-select Files: You can select multiple context files at once, or directly choose an entire folder— the system will automatically include all files within that folder.
Context Reference
| Type | Scope | Typical Use Cases |
|---|---|---|
| Current File | The currently open file in the project | Class refactoring / method logic enhancement |
| Selected Code | Code snippet highlighted in the editor | Add exception handling / performance optimization |
| Modified Code | List of changes in Git staging area | Code style unification / logic optimization |
| Code Repository | Entire current project | Introduce design patterns / module decoupling |
