VS Code में GitHub Copilot कैसे सेटअप करें
GitHub Copilot एक AI-powered coding assistant है जो आपके code suggestions और auto-completion देता है। VS Code में इसे सेटअप करना सिर्फ कुछ मिनटों का काम है।
- GitHub Copilot subscription activate करें. GitHub.com पर अपना अकाउंट login करें। Settings > Billing and plans > Plans and usage में जाएं। GitHub Copilot Individual या Business plan choose करके subscribe करें।
- VS Code में GitHub Copilot extension install करें. VS Code खोलें और Ctrl+Shift+X दबाएं। Search bar में 'GitHub Copilot' type करें। Microsoft द्वारा verified extension को Install button पर click करके install करें।
- GitHub account से sign in करें. Extension install होने के बाद VS Code restart करें। Bottom status bar में GitHub Copilot icon दिखेगा। Icon पर click करें और 'Sign in to GitHub' select करें। Browser में authentication complete करें।
- Copilot को enable करें. Command Palette (Ctrl+Shift+P) खोलें। 'GitHub Copilot: Enable' type करके select करें। VS Code के bottom-right में Copilot status icon active हो जाएगा।
- Settings को customize करें. File > Preferences > Settings में जाएं। 'Copilot' search करें। Enable/disable auto-suggestions, inline suggestions की frequency, और supported languages को configure करें।
- Copilot suggestions test करें. कोई भी code file खोलें और typing शुरू करें। Gray colored suggestions automatically appear होंगे। Tab key दबाकर suggestion accept करें या Esc दबाकर dismiss करें।