Skip to content

Commit

Permalink
Release 0.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 23, 2024
1 parent 8719a9d commit 8d96210
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# <img align="center" height="70" src="./Docs/AppIcon.png"/> GitHub Copilot For Xcode
# <img align="center" height="70" src="./Docs/AppIcon.png"/> GitHub Copilot for Xcode

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

[GitHub Copilot](https://github.com/features/copilot) is an AI pair programmer
that helps you write code faster and smarter. Copilot for Xcode is an
Xcode extension that provides inline coding suggestions as you type.
tool that helps you write code faster and smarter. Copilot for Xcode is an Xcode
extension that provides inline coding suggestions as you type.

## Beta Preview Policy

Expand All @@ -21,7 +21,8 @@ As per [GitHub's Terms of Service](https://docs.github.com/en/github/site-policy

## Getting Started

1. Download the latest `dmg` from: https://github.com/github/copilot-xcode/releases/latest/download/GitHubCopilotForXcode.dmg
1. Download the `dmg` from
[the latest release](https://github.com/github/copilot-xcode/releases/latest/download/GitHubCopilotForXcode.dmg).
Updates can be downloaded and installed by the app.

1. Open the `dmg` and drag the `GitHub Copilot for Xcode.app` into the `Applications` folder.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ public class GitHubCopilotBaseService {
"editorPluginInfo": [
"name": "copilot-xcode",
"version": versionNumber,
],
"editorConfiguration": editorConfiguration(),
]
],
capabilities: capabilities,
trace: .off,
Expand All @@ -208,6 +207,12 @@ public class GitHubCopilotBaseService {
let notifications = NotificationCenter.default
.notifications(named: .gitHubCopilotShouldRefreshEditorInformation)
Task { [weak self] in
// Send workspace/didChangeConfiguration once after initalize
_ = try? await server.sendNotification(
.workspaceDidChangeConfiguration(
.init(settings: editorConfiguration())
)
)
for await _ in notifications {
guard self != nil else { return }
_ = try? await server.sendNotification(
Expand Down

0 comments on commit 8d96210

Please sign in to comment.