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
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,11 +44,19 @@ Or you can add them manually by going to the `Privacy & Security` tab in `System
44
44
- Accessibility API: Click `Accessibility`, and add `Copilot for Xcode.app` to the list.
45
45
- Input Monitoring: Click `Input Monitoring` and add `Copilot for Xcode.app` to the list.
46
46
47
+
### Alternative Ways to Launch the XPC Service
48
+
49
+
The launch agent is set to `RunAtLoad`, so it will start when you log on to your computer. If you have a solution to configure the launch agent to start and stop on demand, please file an issue or pull request (note that the XPC service must be started before the user calls any commands, as it needs to call some of the commands proactively to provide real-time suggestions).
50
+
51
+
Alternatively, you can skip the Launch Agent part and use other applications to watch Xcode launch and then launch the XPC service when needed. The executable is located at `Copilot for Xcode.app/Contents/MacOS/CopilotForXcodeXPCService`. Or you can remove the `RunAtLoad` field from the plist and run it manually.
52
+
47
53
## Update
48
54
49
-
You can manually download the latest release. After updating the app, don't forget to click `Restart XPC Service` in the app to kill the old version and run the new version. (I will make it auto-restartable later. )
55
+
You can download the latest version manually from the latest [release](https://github.com/intitni/CopilotForXcode/releases).
56
+
57
+
If you are upgrading from a version lower than 0.5.1, don't forget to click `Restart XPC Service` in the application after the update to kill the old version and start the new one.
50
58
51
-
If you want to keep track of the new releases, you can watch this repo's releases to get notifications on updates.
59
+
If you want to keep track of the new releases, you can watch the releases of this repoto get notifications about updates.
52
60
53
61
## Commands
54
62
@@ -59,8 +67,8 @@ If you want to keep track of the new releases, you can watch this repo's release
59
67
- Reject Suggestion: Remove the suggestion comments.
60
68
- Turn On Real-time Suggestions: When turn on, Copilot will auto-insert suggestion comments to your code while editing.
61
69
- Turn Off Real-time Suggestions: Turns the real-time suggestions off.
62
-
- 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.
63
-
- 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.
70
+
- Real-time Suggestions: Call only by Copilot for Xcode. When suggestions are successfully fetched, Copilot for Xcode will run this command to present the suggestions.
71
+
- Prefetch Suggestions: Call only by Copilot for Xcode. In the background, Copilot for Xcode will occasionally run this command to prefetch real-time suggestions.
0 commit comments