You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,22 +38,23 @@ The first time the commands run, the extension will ask for 2 types of permissio
38
38
- Previous Suggestion: If there is more than 1 suggestion, switch to the previous one.
39
39
- Accept Suggestion: Add the suggestion to the code.
40
40
- Reject Suggestion: Remove the suggestion comments.
41
-
- Turn On Real-time Suggestions: When turn on, Copilot will auto-insert suggestion comments to your code while editing. You have to manually turn it on for every open window of Xcode.
41
+
- Turn On Real-time Suggestions: When turn on, Copilot will auto-insert suggestion comments to your code while editing.
42
42
- Turn Off Real-time Suggestions: Turns the real-time suggestions off.
43
43
- Real-time Suggestions: It is an entry point only for Copilot for Xcode. When suggestions are successfully fetched, Copilot for Xcode will run this command to present the suggestions.
44
44
- Prefetch Suggestions: It is an entry point only for Copilot for Xcode. In the background, Copilot for Xcode will occasionally run this command to prefetch real-time suggestions.
45
45
46
46
**About real-time suggestions**
47
47
48
-
The implementation won't feel as smooth as that of VSCode.
48
+
- The on/off state is persisted, make sure you turn it off manually if you no longer want it.
49
+
- The implementation won't feel as smooth as that of VSCode.
50
+
51
+
The magic behind it is that it will keep calling the command from the menu when you are not typing or clicking the mouse. So it will have to listen to those events, I am not sure if people like it.
49
52
50
-
The magic behind it is that it will keep calling the command from the menu when you are not typing, or clicking mouse. So it will have to listen to those events, I am not sure if people like it.
51
-
52
-
Hope that next year, Apple can spend some time on Xcode Extensions.
53
+
Hope that next year, Apple can spend some time on Xcode Extensions.
53
54
54
55
## Prevent Suggestions Being Committed
55
56
56
-
Since the suggestions are presented as comments, they are in your code. If you are not careful enough, they can be committed to your git repo. To avoid that, I would recommend adding a pre-commit git hook to prevent this from happening. Maybe later I will add an command for that.
57
+
Since the suggestions are presented as comments, they are in your code. If you are not careful enough, they can be committed to your git repo. To avoid that, I would recommend adding a pre-commit git hook to prevent this from happening.
0 commit comments