เริ่มใช้งาน GitHub Copilot: สำรวจการใช้งานอย่างเต็มรูปแบบ Master GitHub Copilot: An In-Depth Guide for Beginners

ค้นพบวิธีใช้แผง diff, terminal และ browser ใน GitHub Copilot เพื่อพัฒนาโค้ดอย่างมีประสิทธิภาพ
Discover how to use diff, terminal, and browser panels in GitHub Copilot for efficient code development.
ทำความรู้จักกับ GitHub Copilot
GitHub Copilot เป็นเครื่องมือที่มีประสิทธิภาพซึ่งช่วยให้นักพัฒนาสามารถเขียนโค้ดได้เร็วยิ่งขึ้น โดยการใช้ AI เพื่อเสนอแนะโค้ดและทำให้กระบวนการพัฒนามีความคล่องตัวมากขึ้น เมื่อเปลี่ยนแปลงโค้ด เรามักจะต้องตรวจสอบการเปลี่ยนแปลง รันโค้ด และตรวจสอบผลลัพธ์ ซึ่ง Copilot ช่วยให้คุณทำสิ่งเหล่านี้ได้ง่ายดายมากขึ้น
วิธีใช้แผง diff ในการตรวจสอบ
แผง 'diff' ช่วยคุณในการเปรียบเทียบการเปลี่ยนแปลงโค้ดอย่างละเอียด โดยแสดงบรรทัดโค้ดที่ถูกเพิ่มและลบในสีเขียวและสีแดงตามลำดับ คุณสามารถยอมรับหรือขอให้ Copilot ทำการเปลี่ยนแปลงได้อย่างง่ายดาย
การเรียกคำสั่งในแผง terminal
การเรียกคำสั่งในแผง terminal ของ Copilot ช่วยให้การรันโค้ดเป็นเรื่องง่าย คุณสามารถรันคำสั่งเพื่อดูผลลัพธ์ได้ทันที ซึ่งแสดงถึงการพัฒนาจากการที่เดิมต้องใช้งานโปรแกรมหลากหลายแท็บเพื่อทดสอบโค้ด
ใช้เครื่องมือ Pick & Polish ในแผง browser
แผง 'browser' ช่วยให้คุณสามารถทดสอบฟีเจอร์ใหม่ ๆ ได้ทันที บวกกับเครื่องมือ Pick & Polish ที่ช่วยให้คุณสามารถเลือกและปรับแต่งองค์ประกอบต่าง ๆ บนหน้าเว็บได้อย่างแม่นยำ
เบื้องหลัง
GitHub เป็นแพลตฟอร์มโอเพนซอร์สที่มีการใช้งานแพร่หลาย โดยเป็นส่วนหนึ่งของ Microsoft ภูมิคอมพิวเตอร์ AI ที่อยู่เบื้องหลัง Copilot พัฒนาโดย OpenAI โดยใช้งานโมเดล Codex โอเพ่นซอร์สแบบเชิงพาณิชย์สำรองแอปนี้
ที่มา: GitHub Blog — AI & ML — https://github.blog/ai-and-ml/github-copilot/github-copilot-app-for-beginners-using-the-diff-terminal-and-browser/
Introducing GitHub Copilot
GitHub Copilot is a powerful tool designed to assist developers in writing code more efficiently. By leveraging AI, it suggests code and streamlines the development process. Common tasks like reviewing code changes, running the code, and checking results become easier with Copilot.
Using the Diff Panel for Review
The diff panel assists you in comparing code changes in detail, showing added lines in green and deletions in red. This clarity allows you to accept or request changes conveniently, keeping control in your hands.
Executing Commands in the Terminal Panel
With the terminal panel inside Copilot, running code becomes straightforward. You can execute commands to immediately see results, a significant improvement from needing multiple tabs to test code prior.
Utilize Pick & Polish Tool in the Browser Panel
The browser panel lets you test new features instantly, combined with the Pick & Polish tool, which enables precise selection and adjustment of elements on the web page.
Background
GitHub is a widely-used open-source platform, now part of Microsoft. The AI behind Copilot was developed by OpenAI using the Codex model. This app uses a commercial open-source model to operate effectively.
Source: GitHub Blog — AI & ML — https://github.blog/ai-and-ml/github-copilot/github-copilot-app-for-beginners-using-the-diff-terminal-and-browser/
ที่มา:Source: github.blog/ai-and-ml/github-copilot/github-copilot-app-for-
เกี่ยวกับผู้เผยแพร่About the publisher
- ผู้เขียนAuthor
- Oneable Team
- บริษัทCompany
- Oneable — AI-Powered Software Development Agency
- ความเชี่ยวชาญExpertise
- LLM & RAG, AI Agent, Web/Mobile, MLOps
- ติดต่อContact
- www.oneable.co.th/contact