File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
Tool/Sources/GitHubCopilotService/LanguageServer Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1- # <img align =" center " height =" 70 " src =" ./Docs/AppIcon.png " /> GitHub Copilot For Xcode
1+ # <img align =" center " height =" 70 " src =" ./Docs/AppIcon.png " /> GitHub Copilot for Xcode
22
33<img alt =" Demo of GitHub Copilot for Xcode " src =" ./Docs/demo.gif " width =" 800 " />
44
55[ GitHub Copilot] ( https://github.com/features/copilot ) is an AI pair programmer
6- that helps you write code faster and smarter. Copilot for Xcode is an
7- Xcode extension that provides inline coding suggestions as you type.
6+ tool that helps you write code faster and smarter. Copilot for Xcode is an Xcode
7+ extension that provides inline coding suggestions as you type.
88
99## Beta Preview Policy
1010
@@ -21,7 +21,8 @@ As per [GitHub's Terms of Service](https://docs.github.com/en/github/site-policy
2121
2222## Getting Started
2323
24- 1 . Download the latest ` dmg ` from: https://github.com/github/copilot-xcode/releases/latest/download/GitHubCopilotForXcode.dmg
24+ 1 . Download the ` dmg ` from
25+ [ the latest release] ( https://github.com/github/copilot-xcode/releases/latest/download/GitHubCopilotForXcode.dmg ) .
2526 Updates can be downloaded and installed by the app.
2627
27281 . Open the ` dmg ` and drag the ` GitHub Copilot for Xcode.app ` into the ` Applications ` folder.
Original file line number Diff line number Diff line change @@ -187,8 +187,7 @@ public class GitHubCopilotBaseService {
187187 " editorPluginInfo " : [
188188 " name " : " copilot-xcode " ,
189189 " version " : versionNumber,
190- ] ,
191- " editorConfiguration " : editorConfiguration ( ) ,
190+ ]
192191 ] ,
193192 capabilities: capabilities,
194193 trace: . off,
@@ -208,6 +207,12 @@ public class GitHubCopilotBaseService {
208207 let notifications = NotificationCenter . default
209208 . notifications ( named: . gitHubCopilotShouldRefreshEditorInformation)
210209 Task { [ weak self] in
210+ // Send workspace/didChangeConfiguration once after initalize
211+ _ = try ? await server. sendNotification (
212+ . workspaceDidChangeConfiguration(
213+ . init( settings: editorConfiguration ( ) )
214+ )
215+ )
211216 for await _ in notifications {
212217 guard self != nil else { return }
213218 _ = try ? await server. sendNotification (
You can’t perform that action at this time.
0 commit comments