This guide covers common issues and solutions when using VT Code with your IDE.
Issue: VT Code extension can't find the VT Code CLI.
Solution:
-
Ensure VT Code CLI is installed:
# Install with Cargo (recommended) cargo install vtcode # Or with Homebrew brew install vtcode # Or with NPM
-
Check that VT Code is in your PATH:
vtcode --version
-
If VT Code is installed in a custom location, update your IDE settings to point to the correct path:
- VS Code: Set
vtcode.commandPathin settings to the full path of the VT Code executable - Cursor/Windsurf: Look for similar extension settings to specify the VT Code executable path
- VS Code: Set
Issue: VT Code commands are not responding or showing errors.
Solution:
- Restart your IDE after installing the extension
- Check that your workspace contains a
vtcode.tomlconfiguration file - Verify the extension is enabled in your IDE
- Check the IDE's output panel for error messages
Issue: VT Code can't connect to AI providers (OpenAI, Anthropic, etc.).
Solution:
- Ensure you have valid API keys in your
vtcode.tomlconfiguration file - Check that your API key has sufficient permissions
- Verify your internet connection
- Check if the AI provider has any service interruptions
Issue: VT Code is taking a long time to respond or analyze code.
Solution:
- For large codebases, consider excluding large directories in your
vtcode.toml - Check that your system has sufficient memory and CPU resources
- Ensure your internet connection is stable if using cloud-based AI providers
- Consider switching to a faster AI model in your configuration
Issue: VT Code isn't using expected configuration settings.
Solution:
- Verify your
vtcode.tomlfile is in the root of your workspace - Check the syntax of your configuration file
- Restart your IDE after making configuration changes
- Use the "VT Code: Open Configuration" command to edit your config directly
Issue: Using VT Code with Cursor, Windsurf, or other VS Code-compatible editors.
Solution: VT Code works with any VS Code-compatible editor through the Open VSX registry:
- Ensure the VT Code CLI is installed separately on your system
- Install the extension from the Open VSX registry or via VSIX file
- The extension behavior should be identical to VS Code
- Configuration settings may be located in different places depending on the editor
If you're still experiencing issues:
- Check the main documentation
- Review the Cursor and Windsurf Setup Guide for editor-specific instructions
- Join our community Discord
- Open an issue on our GitHub repository
- Provide detailed information about your setup, the issue you're experiencing, and any error messages