Seeking Advice on Switching from Cursor to GitHub Copilot #160059
Replies: 4 comments 3 replies
-
1. Replicating
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @yccheok, Thanks for considering GitHub Copilot as you look to migrate from Cursor! We'd be happy to address your specific questions about iOS development workflows. 1. Creating the equivalent of Cursor's .cursorrules in GitHub CopilotGreat news - GitHub Copilot has a very similar feature using repository-level custom instructions! Here's how it works: You'll want to create a For your specific Swift/SwiftUI needs, you might create something like: # iOS Development Guidelines
You are an expert iOS developer using Swift and SwiftUI.
## Code Structure
- Use Swift's latest features and protocol-oriented programming
- Apply SwiftUI declarative syntax for UI components
- Use @Observable macros for state management
## Best Practices
- Follow Apple's official coding guidelines
- Create modular, reusable components
- Implement proper error handlingThe VS Code docs confirm that these instructions are automatically included in every Copilot interaction within that repository, similar to how Cursor's rules work. Just make sure to enable the setting 2. Providing Apple documentation for more accurate suggestionsWhile Copilot doesn't have the exact same approach as Cursor for integrating documentation, we have several effective ways to accomplish this: When you're working on a specific iOS problem, you can:
I find that many iOS developers create a dedicated "AppleAPIs.md" file with snippets of their most-used APIs, which gives Copilot better context for your codebase. What's working well for other iOS developersMany developers who've made this switch particularly appreciate that GitHub Copilot:
Would you like me to share some specific examples of iOS-specific settings that other Swift developers are using with GitHub Copilot? I'd be happy to go into more detail about optimizing the experience for your particular iOS development needs! |
Beta Was this translation helpful? Give feedback.
-
|
If you're doing iOS development with SwiftUI, switching from Cursor to GitHub Copilot has some pros and cons to consider. Pros of GitHub Copilot (for SwiftUI developers): Copilot integrates directly into Xcode via the official plugin, so you can stay within your native development environment. It's great at generating common SwiftUI code patterns — things like @State variables, reusable View components, NavigationStack, and common modifiers (.padding(), .background(), etc.). It speeds up repetitive tasks like building forms, lists, and UI scaffolding. Also helpful with parsing JSON into Swift structs and generating basic Combine or async/await code. Things Cursor might do better: Cursor is more IDE-like, with an emphasis on code navigation, live previews, and direct context awareness in a more interactive way. It allows more advanced editing workflows (like custom instructions and structured refactors), which Copilot doesn't currently support as deeply in Xcode. Cursor might give you more control over how the AI assists you, especially when iterating on larger chunks of code. Bottom line: It really depends on your workflow — Copilot is great for speeding up UI scaffolding and small components, while Cursor might be better if you rely heavily on AI for deeper refactoring or project-wide edits. |
Beta Was this translation helpful? Give feedback.
-
|
For the For the documentation indexing question (which is the harder one): Copilot doesn't have a native "upload docs" feature like Cursor. Here's the closest you can get today: Create a docs reference file in your repo. Make something like # iOS Development
When generating Swift/SwiftUI code, treat the contents of `docs/swift-context.md` as your primary API reference.Use The honest comparison: Cursor's doc indexing (where you literally paste a URL and it gets indexed) doesn't have a direct equivalent in Copilot yet. You're working around it rather than replacing it. For standard Apple frameworks (SwiftUI, UIKit, Combine, async/await) the base model is well-trained anyway, so you usually don't need to feed it docs unless you're using very new or niche APIs. That's where the manual |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Copilot Feature Area
General
Body
I'm considering migrating from Cursor to GitHub Copilot due to its lower monthly cost.
I have a couple of questions:
https://uxplanet.org/vibe-coding-with-cursor-ai-52f5023bc59a
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions