A Visual Studio Code extension that integrates the git-cd continuous delivery workflow tool directly into your editor.
This extension provides Command Palette integration for all git-cd commands:
- Git-CD: Initialize - Set up git-cd in your repository
- Git-CD: Start Feature - Create a new feature branch
- Git-CD: Refresh Feature - Update feature branch with master
- Git-CD: Test Feature - Merge feature to test branch
- Git-CD: Review - Open a pull request
- Git-CD: Status - Check pull request status
- Git-CD: Finish Feature - Merge feature to master
- Git-CD: Compare - Compare branches or tags
- Git-CD: Release - Create a new release tag
- Git-CD: Clean Branches - Remove stale local branches
- Git-CD: Check Version - Display git-cd version
- Git-CD: Upgrade - Upgrade git-cd to latest version
Build the extension package:
cd /var/home/claudio/Development/vscode-extension npm install npm run compile npx vsce packageInstall the generated .vsix file:
code --install-extension gitcd-vscode-0.0.1.vsix
Or in VSCode: - Press
Ctrl+Shift+P- Type "Extensions: Install from VSIX" - Select the generated.vsixfile
Open the extension folder in VSCode:
code /var/home/claudio/Development/vscode-extension
Press
F5to launch Extension Development HostTest the extension in the new VSCode window
Compile the extension:
cd /var/home/claudio/Development/vscode-extension npm install npm run compileCreate a symlink in your VSCode extensions folder:
ln -s /var/home/claudio/Development/vscode-extension ~/.vscode/extensions/gitcd-vscodeRestart VSCode or run "Developer: Reload Window"
- Open a git repository in VSCode
- Press
Ctrl+Shift+Pto open Command Palette - Type "Git-CD" to see all available commands
- Select the command you want to run
The output will be shown in the "Git-CD" output channel.
Access settings via File → Preferences → Settings, then search for "gitcd":
- gitcd.pythonPath: Path to Python 3 executable (default:
python3) - gitcd.gitcdPath: Path to git-cd executable (default:
git-cd) - gitcd.showOutputOnExecution: Auto-show output panel (default:
true)
Build and watch for changes:
npm run watchRun tests:
npm run testPackage for distribution:
npx vsce packageApache License 2.0