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
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,10 +82,11 @@ If you are using macOS Monterey, enter the `Extensions` menu in `System Preferen
82
82
### Setting Up GitHub Copilot
83
83
84
84
1. In the host app, switch to the service tab and click on GitHub Copilot to access your GitHub Copilot account settings.
85
-
2. Optionally setup the path to Node. The default value is just `node`, Copilot for Xcode.app will try to find the Node from the PATH available in a login shell. If your Node is installed somewhere else, you can run `which node` from terminal to get the path.
86
-
3. 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.
87
-
4. After signing in, go back to the app and click "Confirm Sign-in" to finish.
88
-
5. Go to "Feature - Suggestion" and update the feature provider to "GitHub Copilot".
85
+
2. Click "Install" to install the language server.
86
+
3. Optionally setup the path to Node. The default value is just `node`, Copilot for Xcode.app will try to find the Node from the PATH available in a login shell. If your Node is installed somewhere else, you can run `which node` from terminal to get the path.
87
+
4. 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.
88
+
5. After signing in, go back to the app and click "Confirm Sign-in" to finish.
89
+
6. Go to "Feature - Suggestion" and update the feature provider to "GitHub Copilot".
89
90
90
91
The installed language server is located at `~/Library/Application Support/com.intii.CopilotForXcode/GitHub Copilot/executable/`.
91
92
@@ -188,6 +189,12 @@ You can detach the chat panel by simply dragging it away. Once detached, the cha
188
189
|`⌘M`| Minimize the chat, you can bring it back with any chat commands or by clicking the circular widget. |
189
190
|`⇧↩︎`| Add new line. |
190
191
192
+
#### Chat Scope
193
+
194
+
The chat panel allows for chat scope to temporarily control the context of the conversation for the latest message. To use a scope, simply prefix the message with `@scope`.
195
+
196
+
Currently, the only supported scope is `@file`, which will import the content of the file into the system prompt.
197
+
191
198
#### Chat Plugins
192
199
193
200
The chat panel supports chat plugins that may not require an OpenAI API key. For example, if you need to use the `/run` plugin, you just type
@@ -207,7 +214,16 @@ If you need to end a plugin, you can just type
207
214
208
215
### Prompt to Code
209
216
210
-
Refactor selected code or write new code using natural language.
217
+
Refactor existing code or write new code using natural language.
218
+
219
+
This feature is recommended when you need to update a specific piece of code. Some example use cases include:
220
+
- Improving the code's readability.
221
+
- Correcting bugs in the code.
222
+
- Adding documentation to the code.
223
+
- Breaking a large function into smaller functions.
224
+
- Generating code with a specific template through custom commands.
225
+
- Polishing and correcting grammar and spelling errors in the documentation.
0 commit comments