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
@@ -58,18 +60,26 @@ Then set it up with the following steps:
58
60
59
61
1. Open the app, the app will create a launch agent to setup a background running Service that does the real job.
60
62
2. Optionally setup the path to Node. The default value is just `node`, Copilot for Xcode.app will try to find the Node from `/usr/bin:/usr/local/bin`. If your Node is installed somewhere else, you can run `which node` from terminal to get the path.
61
-
3. Enable the extension in `System Settings.app`.
62
63
63
-
From the Apple menu located in the top-left corner of your screen click `System Settings`. Navigate to `Privacy & Security` then toward the bottom click `Extensions`. Click `Xcode Source Editor` and tick `Copilot`.
64
+
### Enable the Extension
65
+
66
+
Enable the extension in `System Settings.app`.
67
+
68
+
From the Apple menu located in the top-left corner of your screen click `System Settings`. Navigate to `Privacy & Security` then toward the bottom click `Extensions`. Click `Xcode Source Editor` and tick `Copilot`.
64
69
65
-
If you are using macOS Monterey, enter the `Extensions` menu in `System Preferences.app` with its dedicated icon.
70
+
If you are using macOS Monterey, enter the `Extensions` menu in `System Preferences.app` with its dedicated icon.
66
71
67
72
### Sign In GitHub Copilot
68
73
69
-
1. In the app, refresh the Copilot status (it may fail for the first time, try at least one more time).
74
+
1. In the host app, click GitHub Copilot to enter the GitHub Copilot account settings.
70
75
2. Click "Sign In", and you will be directed to a verification website provided by GitHub, and a user code will be pasted into your clipboard.
71
76
3. After signing in, go back to the app and click "Confirm Sign-in" to finish.
72
77
78
+
### Setting Up OpenAI API Key
79
+
80
+
1. In the host app, click OpenAI to enter the OpenAI account settings.
81
+
2. Enter your api key to the text field.
82
+
73
83
### Granting Permissions to the App
74
84
75
85
The first time the app is open and command run, the extension will ask for the necessary permissions.
@@ -100,8 +110,6 @@ Alternatively, You can use the in-app updater or download the latest version man
100
110
101
111
If you are upgrading from a version lower than **0.7.0**, please run `Copilot for Xcode.app` at least once to let it set up the new launch agent for you and re-grant the permissions according to the new rules.
102
112
103
-
If you want to keep track of the new releases, you can watch the releases of this repo to get notifications about updates.
104
-
105
113
If you find that some of the features are no longer working, please first try regranting permissions to the app.
0 commit comments