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
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,10 +32,14 @@ For development instruction, check [Development.md](DEVELOPMENT.md).
32
32
33
33
## Prerequisites
34
34
35
-
-[Node](https://nodejs.org/) installed to run the Copilot LSP.
36
35
- Public network connection.
37
-
- Active GitHub Copilot subscription (to use suggestion features).
38
-
- Valid OpenAI API key (to use chat features).
36
+
37
+
For suggestion features:
38
+
-[Node](https://nodejs.org/) installed to run the Copilot LSP.
39
+
- Active GitHub Copilot subscription.
40
+
41
+
For chat and prompt to code features:
42
+
- Valid OpenAI API key.
39
43
40
44
## Permissions Required
41
45
@@ -153,6 +157,12 @@ If you need to end a plugin, you can just type
153
157
|`/run`| Runs the command under the project root. You can also use environment variable `PROJECT_ROOT` to get the project root and `FILE_PATH` to get the editing file path.|
154
158
|`/airun`| Create a command with natural language. You can ask to modify the command if it is not what you want. After confirming, the command will be executed by calling the `/run` plugin. |
155
159
160
+
### Prompt to Code
161
+
162
+
- Prompt to Code: Open a prompt to code window, where you can use natural language to write or edit selected code.
163
+
164
+
Prompt to code commands are not available in comment mode.
165
+
156
166
## Key Bindings
157
167
158
168
It looks like there is no way to add default key bindings to commands, but you can set them up in `Xcode settings > Key Bindings`. You can filter the list by typing `copilot` in the search bar.
0 commit comments