AI-Assisted Programming: GUI or Command Line? My Current Thoughts
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- swift
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
Không có tệp, bài kiểm thử hoặc điểm vào nào được nêu. Hãy bắt đầu bằng việc xem xét hành vi của GUI liên quan đến việc giữ Xcode ở phía trước và trường hợp được báo cáo trong đó các thay đổi ảnh hưởng đến nhầm tệp; phạm vi và tiêu chí hoàn thành cần được maintainer làm rõ trước khi triển khai.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
AI-Assisted Programming: GUI or Command Line? My Current Thoughts
I'm an Apple platform developer, with experience building apps for iOS, macOS, watchOS, and visionOS.
You might have noticed that over the past two weeks, I’ve reported fewer bugs to Copilot Xcode. This is because I’ve started experimenting with command-line-based programming. After spending some time with both approaches, I’ve discovered that each has its own strengths and weaknesses. In the long run, I believe GUIs have the upper hand, but for now, their drawbacks have kept me away.
The pros and cons I’m about to discuss are based specifically on my personal experience with Copilot: namely, Copilot CLI and GitHub Copilot for Xcode.
Advantages of Using the Command Line
More Flexibility
The command line typically has access to the entire disk, and can even help users who aren’t as familiar with the very use app modify its own configuration files.
When working from the command line, you don’t have to keep the Xcode window in the foreground. This means you can open multiple windows or multitask—like scrolling through X, for instance. This isn’t the case with the GUI, which insists Xcode must be front. If it isn’t, it keeps bringing Xcode to the forefront. I’ve reported this before, and the developers say it’s necessary for other features to function, but I think there should at least be an option to toggle this behavior—maybe make the GUI act more like the CLI in this respect.
Fewer Interruptions
With the GUI, I often run into interruptions, usually due to insufficient context. However, this has never happened with the command line. Most CLI interruptions are caused by network issues or quota limits, not by a lack of context.
Advantages of Using a GUI
Easier to Define Scope and Select Areas
With a GUI, you can directly access the current file, making the context much more straightforward. The AI can usually spot the area that needs to be changed right away. The command line just can’t match this convenience. On the CLI, you have to keep switching between copying and pasting—first the filename, then pasting it into the command line. It’s a simple but rather tedious process, nowhere near as intuitive as just clicking with a mouse. With the GUI, these actions feel natural and seamless.
If you don’t specify the file when using the command line, it ends up searching the entire project, which can take a lot of time or sometimes even fail to find the right spot.
Why I Stopped Using the GUI and Went Back to the Command Line
There’s been a long-standing issue with the GUI that still hasn’t been fixed: it often writes changes to the wrong file. For example, it might overwrite all the content in file B when it’s actually supposed to modify file A. I’ve reported this issue ages ago, but it still hasn’t been addressed. This is much harder to tolerate than the shortcomings of the command line I mentioned above.
So those are my thoughts on the matter. I welcome discussion and would love to hear any suggestions or better ideas you have.
- Ngôn ngữ chính
- Swift
- Star
- 6.3k
- Fork
- 2k
- Merge trung bình
- 3 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/CopilotForXcode
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
github/CopilotForXcode#181 · 2 reaction ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
github/CopilotForXcode#945 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
github/CopilotForXcode#943 ·
-
Luisgerardomartinezlara Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
github/CopilotForXcode#936 · 2 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
github/CopilotForXcode#934 ·
Tất cả issue của github/CopilotForXcode
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
manaflow-ai/cmux#13763 ·
-
type: feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
googleapis/google-cloud-swift#1036 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
wultra/mtoken-sdk-ios#253 ·
-
The correction-threshold rationale says 17 restraint cases collide; the current corpus has 16 Đang mởarea:dictation documentation P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
uttrflow/uttrflow-swift#1180 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100