Features
Chat Mode
Natural language coding with Cubent Coder
Overview
Chat Mode is the primary interface for interacting with Cubent Coder. It allows you to communicate with AI using natural language to generate code, debug issues, explain concepts, and perform various development tasks.
Getting Started
To start using Chat Mode:
- Open the Cubent Coder panel in VS Code
- Type your question or request in the chat input
- Press Enter or click Send
- Review the AI’s response and any generated code
Basic Commands
Code Generation
Ask Cubent Coder to generate code for you:
Code Explanation
Select code in your editor and ask for explanations:
Debugging Help
Get assistance with debugging:
Advanced Features
Context Awareness
Cubent Coder understands your project context:
- File awareness: References files in your workspace
- Code understanding: Analyzes your existing codebase
- Project structure: Understands your project’s architecture
Multi-turn Conversations
Continue conversations naturally:
- Ask follow-up questions
- Request modifications to generated code
- Build upon previous responses
Code Actions
Cubent Coder can perform actions directly in your editor:
- Create new files
- Modify existing code
- Run terminal commands
- Install dependencies
Best Practices
Writing Effective Prompts
- Be specific: Provide clear requirements and context
- Include examples: Show what you want when possible
- Specify constraints: Mention any limitations or requirements
- Ask for explanations: Request comments and documentation
Example of a Good Prompt
Managing Context
- Keep conversations focused on specific topics
- Start new chats for unrelated tasks
- Provide relevant code snippets when asking for help
Tips & Tricks
Quick Actions
- Use
@
to reference files in your workspace - Use
#
to reference specific functions or classes - Copy code blocks directly to your clipboard
Keyboard Shortcuts
Ctrl+Enter
(orCmd+Enter
): Send messageCtrl+/
(orCmd+/
): Focus chat inputEscape
: Clear current input
Code Review
Ask Cubent Coder to review your code:
Troubleshooting
Common Issues
AI not responding:
- Check your API key configuration
- Verify internet connection
- Check API rate limits
Responses seem off-topic:
- Provide more context in your prompts
- Start a new conversation
- Be more specific about your requirements
Code suggestions don’t work:
- Ensure the AI understands your project structure
- Provide relevant file context
- Specify the programming language and framework