READMEmain
We couldn't render this README. Read it on GitHub
Claude Coding Assistant - Deployment Instructions
Follow these instructions to properly deploy your VS Code extension as a VSIX package that works correctly when installed.
Preparation Steps
1. Create Required Directories and Files
First, create the necessary directory structure:
# Create media directory for icons
mkdir -p media
2. Add Icon Files
Create and add both icon files:
-
Copy the SVG icon for the activity bar:
- Create file
media/claude-icon.svgwith the SVG content provided
- Create file
-
Create a PNG icon for the extension:
- Create a 128x128 PNG icon
- Save as
media/claude-icon.png
3. Update Configuration Files
Update these files with the provided fixed versions:
- Replace
package.jsonwith the fixed version - Replace
.vscodeignorewith the fixed version - Update
src/extension.tswith the enhanced version with better logging - Update
src/services/claudeService.tsto remove the hardcoded API key
4. Build and Package
Build and package your extension:
# Install dependencies if needed
npm install
# Build the extension
npm run compile
# Package the extension
npx vsce package
This will create a .vsix file in your project directory.
Installation and Debugging
Installing the VSIX
- In VS Code, go to Extensions view (Ctrl+Shift+X)
- Click the "..." menu (top-right) and select "Install from VSIX..."
- Choose the .vsix file you created
Debugging Installation Issues
If you encounter issues with the installed extension:
-
Check the Developer Tools console:
- Help > Toggle Developer Tools
- Look for errors related to your extension
-
Check the Output panel:
- View > Output
- Select "Claude Coding Assistant" from the dropdown
-
Verify extension loading:
- Open command palette (Ctrl+Shift+P)
- Type "Developer: Show Running Extensions"
- Check if your extension is listed and active
Common Issues and Solutions
Extension Not Appearing
If the extension doesn't appear in the activity bar:
- Check package.json for correct viewsContainers configuration
- Ensure icon files exist in the right location
- Verify activation events are properly configured
Commands Not Working
If commands don't work:
- Check command registrations in extension.ts
- Verify command IDs match between code and package.json
- Check for errors in the activation process
Missing Resources
If resources are missing:
- Check .vscodeignore to ensure necessary files are not excluded
- Make sure media files are properly included in the VSIX
Additional Notes
- Remember to restart VS Code after installing the VSIX
- If making changes, always create a new VSIX and reinstall
- Clear VS Code cache if problems persist (Help > Clear Editor State)