Skip to content

Commit b883593

Browse files
committed
Pre-release 0.24.77
1 parent 6e05e62 commit b883593

File tree

15 files changed

+222
-105
lines changed

15 files changed

+222
-105
lines changed

Copilot for Xcode/App.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Client
22
import HostApp
33
import LaunchAgentManager
4+
import SharedUIComponents
45
import SwiftUI
56
import UpdateChecker
67
import XPCShared
@@ -21,6 +22,7 @@ struct CopilotForXcodeApp: App {
2122
UserDefaults.setupDefaultSettings()
2223
}
2324
.environment(\.updateChecker, UpdateChecker(hostBundle: Bundle.main))
25+
.copilotIntroSheet()
2426
}
2527
}
2628
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "copilot.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
},
12+
"properties" : {
13+
"preserves-vector-representation" : true
14+
}
15+
}
Lines changed: 12 additions & 0 deletions
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "Icon.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
},
12+
"properties": {
13+
"preserves-vector-representation": true
14+
}
15+
}
Lines changed: 3 additions & 0 deletions
Loading

Core/Sources/HostApp/FeatureSettings/Suggestion/SuggesionSettingProxyView.swift

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ struct SuggesionSettingProxyView: View {
99

1010
class Settings: ObservableObject {
1111
@AppStorage("username") var username: String = ""
12-
@AppStorage(\.gitHubCopilotProxyHost) var gitHubCopilotProxyHost
13-
@AppStorage(\.gitHubCopilotProxyPort) var gitHubCopilotProxyPort
12+
@AppStorage(\.gitHubCopilotProxyUrl) var gitHubCopilotProxyUrl
1413
@AppStorage(\.gitHubCopilotProxyUsername) var gitHubCopilotProxyUsername
1514
@AppStorage(\.gitHubCopilotProxyPassword) var gitHubCopilotProxyPassword
1615
@AppStorage(\.gitHubCopilotUseStrictSSL) var gitHubCopilotUseStrictSSL
@@ -39,13 +38,10 @@ struct SuggesionSettingProxyView: View {
3938

4039
Form {
4140
TextField(
42-
text: $settings.gitHubCopilotProxyHost,
43-
prompt: Text("xxx.xxx.xxx.xxx, leave it blank to disable proxy.")
41+
text: $settings.gitHubCopilotProxyUrl,
42+
prompt: Text("http://host:port")
4443
) {
45-
Text("Proxy host")
46-
}
47-
TextField(text: $settings.gitHubCopilotProxyPort, prompt: Text("80")) {
48-
Text("Proxy port")
44+
Text("Proxy URL")
4945
}
5046
TextField(text: $settings.gitHubCopilotProxyUsername) {
5147
Text("Proxy username")

DEVELOPMENT.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,6 @@ Requires Node installed and `npm` available on your system path, e.g.
88
sudo ln -s `which npm` /usr/local/bin
99
```
1010

11-
## Local Language Server
12-
13-
To run the language server locally create a `Config.local.xcconfig` file with two config values:
14-
15-
```xcconfig
16-
LANGUAGE_SERVER_PATH=~/code/copilot-client
17-
NODE_PATH=/opt/path/to/node
18-
```
19-
20-
`LANGUAGE_SERVER_PATH` should point to the path where the copilot-client repo is
21-
checked out and `$(LANGUAGE_SERVER_PATH)/dist/language-server.js` must exist
22-
(run `npm run build`).
23-
24-
`NODE_PATH` should point to where node is installed. It can be omitted if
25-
`/usr/bin/env node` will resolves directly.
26-
2711
## Targets
2812

2913
### Copilot for Xcode
@@ -79,4 +63,4 @@ The source code mostly follows the [Ray Wenderlich Style Guide](https://github.c
7963

8064
## App Versioning
8165

82-
The app version and all targets' version in controlled by `Version.xcconfig`.
66+
The app version and all targets' version in controlled by `Version.xcconfig`.

Docs/demo.gif

847 KB
Loading

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# <img align="center" height="70" src="./Docs/AppIcon.png"/> GitHub Copilot For Xcode
22

3-
<img alt="Demo of GitHub Copilot for Xcode" src="./Docs/demo.gif" width="577" />
3+
<img alt="Demo of GitHub Copilot for Xcode" src="./Docs/demo.gif" width="800" />
44

55
GitHub Copilot for Xcode is macOS application and Xcode extension that enables
66
using GitHub Copilot code completions in Xcode.

Server/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy