1.8 KiB
1.8 KiB
VS Code Initial Setup (All Platforms)
You are here: AI Docs Home > VS Code Initial Setup
Contents
- Overview
- Install VS Code
- Install GitHub Copilot
- Sign In and Verify
- Try Copilot Suggestions
- Next Steps
Overview
This guide covers the basic setup for Visual Studio Code and GitHub Copilot. It applies to all platforms (iOS, Android, cross-platform). Complete these steps before any platform-specific automation or MCP setup.
Install VS Code
- Download Visual Studio Code from code.visualstudio.com.
- Open the installer and follow the prompts to install.
- Launch VS Code.
Install GitHub Copilot
- In VS Code, open the Extensions sidebar (⇧⌘X).
- Search for "GitHub Copilot" and click Install.
- (Optional) Search for and install "GitHub Copilot Chat" for chat-based workflows.
Sign In and Verify
- After installing, you’ll be prompted to sign in with your GitHub account.
- Complete the sign-in flow in your browser.
- You must have Copilot access (Copilot Individual, Business, or Enterprise).
- Open a code file (e.g., Swift, Kotlin, Java, JS) and type
//or start a function to trigger a suggestion. - You should see Copilot suggestions inline.
Try Copilot Suggestions
- Open a file for your platform (Swift for iOS, Kotlin for Android, etc.).
- Type a comment or function signature, e.g.:
// Create a function to validate an email address.fun main() {(for Kotlin)
- Accept a suggestion with Tab or Enter.
- Open the Copilot Chat sidebar and try a prompt, e.g.:
- "Write a function to reverse a string in Kotlin."
Next Steps
- For iOS automation, see MCP for iOS in VS Code.
- For Android automation, see Android Setup.