Azure DevOps Code Companion

Love this extension? Become a sponsor to support ongoing development and new features.
Stop Context Switching
Manage work items, track time, create branches, and submit pull requests without leaving VS Code.
Features
- View and manage work items with List/Kanban views
- Status overview badges with click-to-filter
- Quick status change on each work item
- Sprint selection and filtering
Time Tracking
- Built-in timer with auto-pause on inactivity
- Auto-start timer when creating branches
- Auto-resume on activity detection
- Pomodoro timer (25-min work cycles)
Git Integration
- Create branches with automatic work item linking
- Submit PRs with work item associations
- Customizable branch name templates
- Link work items to commits
Pull Request Management
- Review and approve PRs directly from VS Code
- Complete/merge PRs with branch cleanup options
- View PR comments and linked work items
Pipeline & Build Management
- Run pipelines with branch selection
- View build and pipeline logs
- Monitor pipeline runs with detailed status
Additional Features
- Wiki integration
- Team capacity planning
- Work item templates
- Test plan browsing
- Real-time build status in status bar
Quick Start
1. Setup Connection
1. Run command: "Azure DevOps: Setup Connection"
2. Enter your organization name
3. Enter your project name
4. Enter your Personal Access Token (PAT)
2. Create a Personal Access Token
- Go to Azure DevOps
- Click your profile picture → Security → Personal Access Tokens
- Click "New Token" with these scopes:
- Work Items (Read & Write)
- Code (Read & Write)
- Build (Read)
- Pull Request (Read & Write)
3. Start Working
- Click the Azure DevOps icon in the Activity Bar
- Your work items appear in the sidebar
- Click any work item to start tracking time
Commands
| Command |
Description |
Azure DevOps: Setup Connection |
Configure Azure DevOps connection |
Azure DevOps: Show Work Items |
Open work items sidebar |
Azure DevOps: Create Work Item |
Create new work item |
Azure DevOps: Start Timer |
Start time tracking |
Azure DevOps: Stop Timer |
Stop and save time entry |
Azure DevOps: Create Branch |
Create branch from work item |
Azure DevOps: Create Pull Request |
Create PR with work item link |
Azure DevOps: Toggle Kanban View |
Switch between List/Kanban |
Azure DevOps: Link Work Item to Commit |
Link commits to work items |
Azure DevOps: Insert Work Item Reference |
Insert AB#12345 at cursor |
Keyboard Shortcuts
| Action |
Mac |
Windows/Linux |
| Refresh Work Items |
Cmd+Alt+R |
Ctrl+Alt+R |
| Create Work Item |
Cmd+Alt+N |
Ctrl+Alt+N |
| Start Timer |
Cmd+Alt+T |
Ctrl+Alt+T |
| Stop Timer |
Cmd+Alt+S |
Ctrl+Alt+S |
| Create Branch |
Cmd+Alt+B |
Ctrl+Alt+B |
| Create Pull Request |
Cmd+Alt+P |
Ctrl+Alt+P |
| Link Work Item to Commit |
Cmd+Alt+L |
Ctrl+Alt+L |
Configuration
{
"azureDevOps.organization": "mycompany",
"azureDevOps.project": "myproject",
"azureDevOps.defaultWorkItemType": "Task",
"azureDevOps.defaultQuery": "My Work Items",
"azureDevOps.timerInactivityTimeout": 300,
"azureDevOps.pomodoroEnabled": true,
"azureDevOps.branchNameTemplate": "{type}/{id}-{title}",
"azureDevOps.commitMessageTemplate": "AB#{id}: {message}"
}
Requirements
- VS Code 1.102.0 or higher
- Azure DevOps account with project access
- Personal Access Token with required permissions
Troubleshooting
Connection Issues
- Verify PAT has required permissions
- Check organization and project names are correct
- Ensure PAT hasn't expired
Timer Not Working
- Check if a work item is selected
- Verify timer commands in command palette
- Look for timer in status bar
Work Items Not Loading
- Check internet connection
- Verify Azure DevOps service status
- Try refreshing with toolbar button
Changelog
See CHANGELOG.md for version history.
Contributing
Contributions are welcome! Here's how to get started:
Development Setup
# Clone the repository
git clone https://github.com/YonasValentin/azure-devops-code-companion.git
cd azure-devops-code-companion
# Install dependencies
npm install
# Compile and watch for changes
npm run watch
Running the Extension
- Open the project in VS Code
- Press
F5 to launch the Extension Development Host
- The extension will be available in the new VS Code window
Building for Production
# Type check, lint, and bundle
npm run compile
# Package for distribution
npm run package
# Create .vsix file
npx vsce package
Submitting Changes
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
Found a Bug?
Open an issue on GitHub
Support Development
This extension is free and open source. If it improves your Azure DevOps workflow, consider supporting its development:
GitHub Sponsors is the best way to support ongoing development. Sponsors get priority support and help fund new features.

Other ways to help
MIT License