Source Control
Source Control
Integrated source control features for GitHub and Azure DevOps with pull request management and code review capabilities.
Overview
Section titled “Overview”C# Dev Tools provides comprehensive source control integration:
- GitHub Integration - Pull requests and collaboration
- Azure DevOps Integration - Work items and pull requests
- GitHub Copilot Code Review - AI-powered code reviews
Key Features
Section titled “Key Features”Pull Request Management
Section titled “Pull Request Management”Manage pull requests without leaving VS Code:
- View assigned pull requests
- Create new pull requests
- Review code changes
- Add comments and feedback
- Approve or request changes
- Merge pull requests
Multi-Platform Support
Section titled “Multi-Platform Support”Works with both:
- GitHub: Public and private repositories
- Azure DevOps: Organizations and projects
Code Review
Section titled “Code Review”Enhanced code review capabilities:
- Inline code comments
- File-level comments
- Review conversations
- AI-powered code review with GitHub Copilot
- Suggested changes
Pull Request Tree View
Section titled “Pull Request Tree View”Access pull requests from Solution Explorer:
- Expand “Pull Requests” section
- View PRs by status:
- Assigned to me
- Created by me
- Review requested
- Click to open PR details
Creating Pull Requests
Section titled “Creating Pull Requests”Create PRs directly from VS Code:
- Make changes and commit
- Push to remote branch
- Click “Create Pull Request”
- Fill in title and description
- Select reviewers
- Create PR
Reviewing Pull Requests
Section titled “Reviewing Pull Requests”Review PRs in VS Code:
- Open PR from tree view
- View changed files
- Add inline comments
- Approve or request changes
- Merge when ready
GitHub Copilot Integration
Section titled “GitHub Copilot Integration”Use AI for code reviews:
- Open a pull request
- Click “Review with Copilot”
- Copilot analyzes changes
- Provides suggestions and insights
- Highlights potential issues
Configuration
Section titled “Configuration”Connection Setup
Section titled “Connection Setup”Configure source control connections:
- Open Command Palette
- Search “Pull Request Manager: Open Connection Manager”
- Add GitHub or Azure DevOps connections
- Authenticate with personal access tokens
Authentication
Section titled “Authentication”Secure authentication via:
- Personal Access Tokens (PAT)
- OAuth (for GitHub)
- Azure Active Directory (for Azure DevOps)
Benefits
Section titled “Benefits”- Stay in VS Code while managing PRs
- Faster code review workflow
- AI-assisted code reviews
- Unified interface for GitHub and Azure DevOps
- Streamlined collaboration
Integration
Section titled “Integration”Source control features integrate with:
- Solution Explorer
- Git commands
- VS Code Source Control view
- GitHub Copilot
- Testing features