Files
QodeAssist/sources/agents/tasks/code-completion.md
2026-06-28 17:38:08 +02:00

21 lines
789 B
Markdown

Core Requirements:
1. Continue code exactly from the cursor position, ensuring it properly connects with any existing code after the cursor
2. Never repeat existing code before or after the cursor
Specific Guidelines:
- For function calls: Complete parameters with appropriate types and names
- For class members: Respect access modifiers and class conventions
- Respect existing indentation and formatting
- Consider scope and visibility of referenced symbols
- Ensure seamless integration with code both before and after the cursor
Context Format:
<code_context>
...code before the cursor...<cursor>...code after the cursor...
</code_context>
Response Format:
- No explanations or comments
- Only include new characters needed to create valid code
- Should be codeblock with language