Troubleshooting Guide
This guide provides solutions for common issues you might encounter when using ThinkCode. If you're experiencing a problem, consult this reference for potential fixes and workarounds.
Installation Issues
ThinkCode Won't Install
Symptoms:
- Installation process fails or freezes
- Error messages during installation
- Application doesn't launch after installation
Solutions:
-
Check System Requirements
- Ensure your system meets the minimum requirements:
- Windows 10/11, macOS 10.15+, or Linux with GLIBC 2.28+
- 8GB RAM minimum (16GB recommended)
- 4GB available disk space
- 64-bit operating system
- Ensure your system meets the minimum requirements:
-
Run as Administrator/Elevated Privileges
- Windows: Right-click the installer and select "Run as administrator"
- macOS: Enter administrator credentials when prompted
- Linux: Use
sudo
when running the installation commands
-
Verify Downloaded File
- Check that your download completed properly
- Verify checksums if available on the download page
- Try downloading again, preferably from the official website
-
Disable Antivirus Temporarily
- Some antivirus software may interfere with installation
- Temporarily disable your antivirus, install ThinkCode, then re-enable it
- Add ThinkCode to your antivirus exclusions/whitelist
-
Clear Temporary Files
- Windows: Delete contents of
%TEMP%
folder - macOS: Delete contents of
/tmp
directory - Linux: Clear
/tmp
directory
- Windows: Delete contents of
Can't Launch After Installation
Symptoms:
- Application icon doesn't respond when clicked
- Application starts then immediately crashes
- Error message about missing components
Solutions:
-
Restart Your Computer
- A simple restart often resolves launch issues
-
Check for Administrative Blocks
- Corporate environments may restrict application execution
- Contact your IT department for assistance
-
Reinstall the Application
- Uninstall ThinkCode completely
- Delete any remaining application data folders
- Download a fresh copy and reinstall
-
Install Missing Dependencies
- Windows: Install the latest Visual C++ Redistributable packages
- Linux: Install required dependencies using your package manager
- macOS: Ensure you have the required version of Xcode Command Line Tools
Performance Issues
ThinkCode is Slow or Laggy
Symptoms:
- UI responds slowly to interactions
- High CPU or memory usage
- Typing or scrolling feels delayed
Solutions:
-
Close Resource-Intensive Extensions
- Some extensions can significantly impact performance
- Disable extensions one by one to identify the culprit
- Access the Command Palette and select "Extensions: Disable All Extensions"
-
Limit Workspace Size
- Very large workspaces can cause performance issues
- Use multiple smaller workspaces instead of one large one
- Exclude large binary files or node_modules folders
-
Adjust Settings for Performance
- Disable auto-save or increase the auto-save delay
- Reduce the number of open editors
- Turn off minimap and other visual features
- Disable real-time linting for large files
-
Update Your GPU Drivers
- Outdated GPU drivers can cause rendering issues
- Update to the latest drivers for your graphics hardware
-
Try Running Without Hardware Acceleration
- Launch with
--disable-gpu
flag - In settings, search for "hardware acceleration" and disable it
- Launch with
High Memory Usage
Symptoms:
- ThinkCode uses excessive RAM
- System becomes slow or unresponsive
- Out of memory errors
Solutions:
-
Limit the Number of Open Files
- Close unused editors and tabs
- Use workspaces to organize projects
-
Check Extension Memory Usage
- Some extensions may have memory leaks
- Disable extensions you're not actively using
- Look for extensions with known memory issues
-
Adjust Memory Settings
- Increase the
--max-memory
parameter when launching ThinkCode - Set appropriate memory limits in ThinkCode settings
- Increase the
-
Restart Periodically
- Memory usage can increase over long sessions
- Restart ThinkCode every few days for best performance
AI Features Issues
AI Completions Not Working
Symptoms:
- No AI suggestions appear
- AI suggestions are slow or irrelevant
- Error messages when using AI features
Solutions:
-
Check Network Connection
- AI features require an internet connection
- Verify your network connectivity
- Check if your organization blocks AI service endpoints
-
Verify Account Status
- Ensure your ThinkCode subscription is active
- Check if you've exceeded API usage limits
- Verify your API key in settings (if using custom endpoints)
-
Adjust AI Settings
- Open settings and search for "AI"
- Try changing the model or reducing context length
- Increase timeouts for slower connections
-
Rebuild Context
- Use the Command Palette to run "ThinkCode: Reset Context"
- Rebuild context with "ThinkCode: Start Context Collection"
-
Check Proxy Settings
- If you're behind a corporate firewall, configure proxy settings
- Verify that ThinkCode can access AI service endpoints
Poor AI Suggestions
Symptoms:
- AI completions are irrelevant
- Code suggestions don't match the project context
- Generated code contains errors
Solutions:
-
Improve Your Prompts
- Be specific and clear in your prompts
- Provide context about what you're trying to achieve
- Include relevant code snippets in your requests
-
Update Context
- Ensure your current work context is captured
- Try "ThinkCode: Update Context" command
- Open relevant files to include them in the context
-
Try Different AI Models
- Some models perform better for specific tasks
- Experiment with different models in settings
- Use specialized models for particular languages or frameworks
-
Adjust Token Limits
- Increase the maximum token context if available
- Allow more processing time for complex requests
Extension Issues
Extensions Won't Install
Symptoms:
- Installation failure messages
- Extensions appear disabled
- Missing functionality from installed extensions
Solutions:
-
Check Compatibility
- Ensure the extension is compatible with your ThinkCode version
- Look for version requirements in the extension description
-
Verify Network Access
- Extensions are downloaded from remote repositories
- Check your internet connection
- Verify proxy settings if applicable
-
Clear Extension Cache
- Delete the extensions cache directory:
- Windows:
%USERPROFILE%\.thinkcode\extensions
- macOS:
~/Library/Application Support/ThinkCode/extensions
- Linux:
~/.config/ThinkCode/extensions
- Windows:
- Delete the extensions cache directory:
-
Install from VSIX
- Download the extension VSIX file manually
- Install from VSIX using the Command Palette
Extensions Causing Crashes
Symptoms:
- ThinkCode crashes when using certain extensions
- Error messages mentioning extension IDs
- Stability issues after installing new extensions
Solutions:
-
Identify Problematic Extensions
- Start ThinkCode with
--disable-extensions
- Re-enable extensions one by one to identify the issue
- Check the ThinkCode logs for extension-related errors
- Start ThinkCode with
-
Update Extensions
- Outdated extensions may cause compatibility issues
- Update all extensions to their latest versions
-
Check Extension Logs
- Open the Command Palette and run "Developer: Show Extensions Logs"
- Look for errors related to specific extensions
-
Reinstall Problematic Extensions
- Uninstall and reinstall extensions causing issues
- Clear cached data between uninstall and reinstall
Git Integration Issues
Git Features Not Working
Symptoms:
- Git commands fail or produce errors
- Source control panel shows incorrect status
- Git changes not detected
Solutions:
-
Verify Git Installation
- Ensure Git is installed on your system
- Verify Git is in your system PATH
- Check Git version compatibility (2.0.0 or higher recommended)
-
Check Repository Status
- Run
git status
in a terminal to verify repository state - Ensure you have proper permissions for the repository
- Check for corrupt Git repositories
- Run
-
Configure Git Credentials
- Set up Git credentials properly
- Use credential manager or SSH keys
- Verify authentication works from command line
-
Restart Git Process
- Use Command Palette to run "Git: Kill The Active Git Process"
- Reload ThinkCode window
Merge Conflicts Issues
Symptoms:
- Unable to resolve merge conflicts
- Conflict markers remain after resolution
- Error messages during merge operations
Solutions:
-
Use the Built-in Merge Editor
- Take advantage of ThinkCode's visual merge editor
- Click on conflict markers to see conflict resolution options
- Use the Command Palette to run "Git: Resolve Merge Conflicts"
-
Check File Encodings
- Ensure consistent file encodings between branches
- Look for and fix mixed line endings (CRLF/LF)
-
Update Git Configuration
- Set appropriate merge tools in Git config
- Configure proper diff tools
Debugging Issues
Debugger Won't Attach
Symptoms:
- Debugger fails to start
- Breakpoints not hit
- Error messages when launching debug session
Solutions:
-
Check Launch Configuration
- Verify your launch.json configuration
- Ensure paths and settings are correct for your environment
- Check for typos or missing required fields
-
Verify Language Support
- Ensure you have the appropriate debugging extensions installed
- Some languages require specific configurations
- Check language documentation for debugging requirements
-
Check Path to Executable
- Verify the path to the debugger executable
- Ensure it's correctly installed
- Try specifying absolute paths instead of relative
-
Run as Administrator/Elevated Privileges
- Some debugging scenarios require elevated privileges
- Try running ThinkCode as administrator (Windows) or with sudo (Linux)
Breakpoints Not Working
Symptoms:
- Breakpoints appear hollow (not filled)
- Program doesn't stop at breakpoints
- Breakpoints shown as unverified
Solutions:
-
Check Source Maps
- For transpiled languages, ensure source maps are correctly generated
- Verify source map configuration in your build tools
- Check paths in source maps are correct
-
Rebuild Your Project
- Ensure compiled code matches source files
- Rebuild with debug symbols enabled
- Clear cached build files
-
Try Using Logpoints
- Instead of regular breakpoints, use logpoints
- Right-click a breakpoint and convert to logpoint
- This can help debug without stopping execution
-
Check Optimization Settings
- Disable optimizations in build configuration
- Optimized code may not map correctly to source
Language-Specific Issues
IntelliSense Not Working
Symptoms:
- No code completions appear
- Incorrect or limited suggestions
- Error squiggles not showing
Solutions:
-
Install Language Extensions
- Ensure you have the appropriate language extension installed
- Some languages require specific extensions for full IntelliSense
-
Check Language Server Status
- Look for language server notifications in the status bar
- Check output panel for language server logs
- Restart language server if necessary
-
Verify Project Configuration
- Many languages require specific project files (package.json, tsconfig.json, etc.)
- Ensure configuration files are valid and correctly set up
- Check for syntax errors in configuration files
-
Rebuild IntelliSense Database
- Use the Command Palette to run language-specific commands
- For example, "TypeScript: Restart TS Server" for TypeScript projects
- Close and reopen your workspace
Linting/Formatting Issues
Symptoms:
- Inconsistent formatting
- No linting errors shown
- Formatting commands have no effect
Solutions:
-
Check Formatter Configuration
- Verify formatter settings for your language
- Look for language-specific settings in your preferences
- Check for configuration files (.prettierrc, .eslintrc, etc.)
-
Install Required Extensions
- Many languages require specific extensions for formatting
- Check that you have the appropriate linter/formatter installed
-
Configure File Associations
- Ensure files are associated with the correct language
- Check the language mode in the status bar
- Manually set the language mode if necessary
-
Clear Formatter Cache
- Some formatters maintain cache files
- Delete these files and restart ThinkCode
- Reconfigure the formatter if necessary
UI and Display Issues
UI Elements Missing or Misplaced
Symptoms:
- Parts of the interface are missing
- UI elements appear in wrong positions
- Text or icons display incorrectly
Solutions:
-
Reset Window Layout
- Use Command Palette to run "Workbench: Reset Window Layout"
- Close and reopen ThinkCode
-
Check Display Scaling
- Adjust your operating system's display scaling settings
- Try launching with
--force-device-scale-factor=1
flag
-
Clear UI State Cache
- Delete the workbench.html.mtime file in your user data directory
- Restart ThinkCode
-
Try Different Themes
- Some themes may have UI compatibility issues
- Switch to a default theme temporarily
Font or Text Rendering Issues
Symptoms:
- Text appears blurry or pixelated
- Fonts render incorrectly
- Icons appear distorted
Solutions:
-
Check Font Settings
- Verify you have the specified fonts installed
- Try using a different font family
- Adjust font size and line height
-
Update GPU Drivers
- Font rendering issues can be related to GPU
- Update to the latest drivers
-
Disable Font Ligatures
- Some font ligatures may cause rendering issues
- Turn off font ligatures in settings
-
Adjust Anti-aliasing
- Try changing anti-aliasing settings
- Experiment with different font smoothing options
Data and Settings Issues
Settings Not Saving
Symptoms:
- Changed settings revert after restart
- Configuration changes don't take effect
- Settings.json shows old values
Solutions:
-
Check File Permissions
- Ensure you have write permissions to the settings files
- Check if files are read-only
-
Verify Settings Location
- Settings might be overridden by workspace or folder settings
- Check the settings hierarchy (user vs. workspace vs. folder)
-
Clear Settings Cache
- Delete the User/workspaceStorage folder in your user data directory
- Restart ThinkCode
-
Check for Sync Conflicts
- If using Settings Sync, check for synchronization conflicts
- Resolve conflicts in the Settings Sync activity view
Lost User Data
Symptoms:
- Custom snippets or tasks missing
- Extensions reset to default state
- User preferences lost
Solutions:
-
Check Backup Locations
- Look for automatic backups:
- Windows:
%APPDATA%\Code\Backups
- macOS:
~/Library/Application Support/Code/Backups
- Linux:
~/.config/Code/Backups
- Windows:
- Look for automatic backups:
-
Restore from Settings Sync
- If you've enabled Settings Sync, restore from the cloud
- Use the Command Palette to run "Settings Sync: Restore"
-
Check Alternative User Data Directory
- If you've used the
--user-data-dir
flag, check that location - Ensure you're launching with the same parameters
- If you've used the
-
Recover from Source Control
- If your settings are in source control, restore from there
- Many users keep settings in Git repositories
Advanced Troubleshooting
Collecting Logs for Support
If you need to report an issue to ThinkCode support, collect the following information:
-
Application Logs
- Open the Command Palette and run "Developer: Open Logs Folder"
- Collect the main.log and renderer.log files
-
Process Information
- Use the Command Palette to run "Developer: Toggle Developer Tools"
- Go to the Console tab and look for error messages
- Take screenshots of any error messages
-
Extension Logs
- Open the Output panel (View > Output)
- Select "Extension Host" or specific extension logs
- Copy relevant error messages
-
System Information
- Use the Command Palette to run "System Info"
- Copy all the system information displayed
Clean Installation
If you continue to experience issues, a clean installation may help:
-
Uninstall ThinkCode
- Use your operating system's uninstaller
- Make sure to completely remove the application
-
Delete User Data
- Remove the ThinkCode user data directory:
- Windows:
%APPDATA%\ThinkCode
and%USERPROFILE%\.thinkcode
- macOS:
~/Library/Application Support/ThinkCode
and~/.thinkcode
- Linux:
~/.config/ThinkCode
and~/.thinkcode
- Windows:
- Warning: This will delete all your settings and extensions
- Remove the ThinkCode user data directory:
-
Reinstall ThinkCode
- Download the latest version from the official website
- Follow the installation instructions carefully
-
Restore Essential Settings
- Reinstall necessary extensions
- Restore custom settings carefully, one by one
Getting Additional Help
If you've tried all the solutions in this guide and still have issues:
-
Check the Community Forums
- Visit the ThinkCode Community
- Search for similar issues before posting
-
GitHub Issues
- Check the ThinkCode GitHub repository
- Search existing issues or create a new one with detailed information
-
Contact Support
- Enterprise customers can contact dedicated support
- Provide all relevant logs and system information
- Describe the steps to reproduce the issue
-
Social Media
- Reach out on Twitter
- Join the Discord community