Pre-release 0.25.83 · char23-web/CopilotForXcode@baf6492 · GitHub
Skip to content

Commit baf6492

Browse files
committed
Pre-release 0.25.83
1 parent 1b8224d commit baf6492

9 files changed

Lines changed: 103 additions & 87 deletions

File tree

‎Copilot for Xcode/Assets.xcassets/copilotIcon.imageset/Contents.json‎

Lines changed: 0 additions & 12 deletions
This file was deleted.
Binary file not shown.

‎Core/Sources/HostApp/GeneralView.swift‎

Lines changed: 14 additions & 15 deletions

‎Core/Sources/SuggestionWidget/ChatPanelWindow.swift‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ final class ChatPanelWindow: NSWindow {
4444
.transient,
4545
.fullScreenPrimary,
4646
.fullScreenAllowsTiling,
47-
.canJoinAllSpaces
4847
]
4948
hasShadow = true
5049
contentView = NSHostingView(

‎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.

‎Server/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"description": "Package for downloading @github/copilot-language-server",
55
"private": true,
66
"dependencies": {
7-
"@github/copilot-language-server": "^1.237.0"
7+
"@github/copilot-language-server": "^1.238.0"
88
}
99
}

‎Tool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ public class GitHubCopilotBaseService {
227227
in: .userDomainMask
228228
).first?.appendingPathComponent(
229229
Bundle.main
230-
.object(forInfoDictionaryKey: "APPLICATION_SUPPORT_FOLDER") as! String
230+
.object(forInfoDictionaryKey: "APPLICATION_SUPPORT_FOLDER") as? String
231+
?? "com.github.CopilotForXcode"
231232
) else {
232233
throw CancellationError()
233234
}

‎Tool/Sources/SharedUIComponents/AsyncCodeBlock.swift‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,15 @@ public struct AsyncCodeBlock: View {
154154
.fixedSize()
155155
}
156156

157+
@ViewBuilder
158+
func lineBackgroundShape(_ multiLine: Bool) -> some View {
159+
let color = currentLineBackgroundColor ?? backgroundColor
160+
switch multiLine {
161+
case true: HalfCapsule().fill(color)
162+
case false: Rectangle().fill(color)
163+
}
164+
}
165+
157166
@ScaledMetric var iconPadding: CGFloat = 9.0
158167
@ScaledMetric var iconSpacing: CGFloat = 6.0
159168
@ScaledMetric var optionPadding: CGFloat = 0.5
@@ -199,9 +208,7 @@ public struct AsyncCodeBlock: View {
199208
}
200209
}
201210
.frame(height: lineHeight)
202-
.background(
203-
HalfCapsule().fill(currentLineBackgroundColor ?? backgroundColor)
204-
)
211+
.background(lineBackgroundShape(lines.count > 1))
205212
.padding(.leading, firstLineIndent)
206213
.onHover { hovering in
207214
guard hovering != isHovering else { return }

‎Tool/Sources/SharedUIComponents/CopilotIntroSheet.swift‎

Lines changed: 72 additions & 50 deletions

0 commit comments

Comments
 (0)