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
summary:"\(customCommandPrefix) Chatting about selected code in `\(fileURL.lastPathComponent)` from `\(selection.start.line +1):\(selection.start.character +1)` to `\(selection.end.line +1):\(selection.end.character)`.\nThe code will persist in the conversation."
452
454
))
453
455
}
456
+
}elseif !customCommandPrefix.isEmpty {
457
+
await chat.chatGPTService.mutateHistory{ history in
458
+
history.append(.init(
459
+
role:.assistant,
460
+
content:"",
461
+
summary:"\(customCommandPrefix) System prompt is updated."
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,13 @@ Thanks to [LSP-copilot](https://github.com/TerminalFi/LSP-copilot) for showing t
8
8
9
9
<ahref="https://www.buymeacoffee.com/intitni"target="_blank"><imgsrc="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"alt="Buy Me A Coffee"style="height: 60px!important;width: 217px!important;" ></a>
10
10
11
+
## Features
12
+
13
+
- Code Suggestions (powered by GitHub Copilot).
14
+
- Chat (powered by OpenAI ChatGPT).
15
+
- Prompt to Code (powered by OpenAI ChatGPT).
16
+
- Custom Commands to extend Chat and Prompt to Code.
17
+
11
18
## Table of Contents
12
19
13
20
-[Prerequisites](#prerequisites)
@@ -63,7 +70,7 @@ Or install it manually, by downloading the `Copilot for Xcode.app` from the late
63
70
Then set it up with the following steps:
64
71
65
72
1. Open the app, the app will create a launch agent to setup a background running Service that does the real job.
66
-
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.
73
+
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.
0 commit comments