refactor-reset-revert #1

Merged
floppydiscen merged 61 commits from refactor-reset-revert into main 2026-01-15 16:32:20 +00:00
Showing only changes of commit 2633ee2b71 - Show all commits

View File

@@ -619,14 +619,35 @@ Write-Host " code --version" -ForegroundColor White
Write-Success "Repository cloned successfully!"
}
# Open in VSCode
# Open in VSCode
Write-Host " Opening in VSCode..." -ForegroundColor Cyan
if (Get-Command code -ErrorAction SilentlyContinue) {
& code $workshopPath
Write-Success "VSCode opened with the workshop repository"
Write-Host ""
Write-Host "=== IMPORTANT: Terminal Instructions ===" -ForegroundColor Yellow
Write-Host "Once VSCode opens, you MUST open the integrated terminal:" -ForegroundColor White
Write-Host ""
Write-Host "Option 1 (Recommended): Press Ctrl+` (backtick key)" -ForegroundColor Cyan
Write-Host "Option 2: Use menu: View → Terminal" -ForegroundColor Cyan
Write-Host "Option 3: Use Command Palette: Ctrl+Shift+P → 'Terminal: Create New Terminal'" -ForegroundColor Cyan
Write-Host ""
Write-Host "=== Quick Start (run in VSCode terminal) ===" -ForegroundColor Yellow
Write-Host " cd 01-essentials\01-basics" -ForegroundColor White
Write-Host " .\setup.ps1" -ForegroundColor White
Write-Host ""
Write-Host "The terminal should show 'PowerShell' and open to the correct directory." -ForegroundColor Green
Write-Host ""
} else {
Write-Warning "VSCode command not found. Please open manually:"
Write-Host " code '$workshopPath'" -ForegroundColor White
Write-Host ""
Write-Host "=== Manual Instructions ===" -ForegroundColor Yellow
Write-Host "1. Open VSCode manually" -ForegroundColor White
Write-Host "2. Open integrated terminal (Ctrl+` or View → Terminal)" -ForegroundColor White
Write-Host "3. Navigate: cd 01-essentials\01-basics" -ForegroundColor White
Write-Host "4. Run: .\setup.ps1" -ForegroundColor White
Write-Host ""
}
Write-Host ""