
Right-Click Terminal Integration
When you’re working in the VSCode terminal and see output you want to discuss with Sixth:- Right-click in the terminal
- Select “Add to Sixth” from the context menu
- The terminal output is immediately sent to the Sixth chat panel
- Debugging build errors
- Understanding test failures
- Analyzing command output
- Getting help with error messages
@terminal
mention to send the full terminal output to Sixth.
For information about using
@terminal
mentions in your chat messages, see the Terminal
Mentions documentation.How Terminal Integration Works
When you use the right-click terminal integration, Sixth:- Captures the terminal output with all formatting preserved
- Includes the complete context, including command history and results
- Formats it appropriately for the AI to understand
- Enables the AI to see exactly what you’re seeing
Behind the Scenes
The terminal integration uses a clever technique to capture terminal output:-
When you trigger the integration, Sixth:
- Temporarily saves your current clipboard content
- Selects all terminal content (or uses your existing selection)
- Copies it to the clipboard
- Reads the clipboard to get the terminal content
- Restores your original clipboard content
-
The terminal content is then:
- Formatted with proper syntax highlighting
- Added to your message or sent as a new message
- Enhanced with additional context when needed
Tips for Effective Use
- Use terminal integration for error messages: When you encounter an error in the terminal, sending it to Sixth often results in faster resolution than trying to describe the error.
- Select specific output when needed: By default, the integration captures all terminal content, but you can also select specific lines before right-clicking to focus on just the relevant output.
- Combine terminal outputs with file mentions: After sending terminal output to Sixth, you can enhance your question by mentioning relevant files using the @ mentions feature.
- Contextualize build & test outputs with the terminal: Terminal integration is particularly useful for understanding complex build errors or test failures that span multiple lines.
Troubleshooting Terminal Issues
If you’re experiencing issues with terminal integration, such as “Shell Integration Unavailable” or commands not showing output, please refer to our comprehensive Terminal Integration Troubleshooting Guide. The troubleshooting guide covers:- Common terminal integration issues and quick fixes
- Platform-specific solutions for Windows, macOS, and Linux
- Shell-specific configurations for zsh, bash, PowerShell, and more
- Advanced debugging techniques
- Terminal settings optimization
Quick Fix: Most terminal issues can be resolved by switching to bash in the Sixth settings and increasing the shell
integration timeout to 10 seconds.