Skip to content

Commit 249c4f0

Browse files
committed
Merge branch 'release/0.21.0'
2 parents 7fa92e0 + ae4e40c commit 249c4f0

130 files changed

Lines changed: 5034 additions & 1136 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Pro"]
2+
path = Pro
3+
url = git@github.com:intitni/CopilotForXcodePro.git

Copilot for Xcode.xcodeproj/project.pbxproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
C89E75C32A46FB32000DD64F /* AppDelegate+Menu.swift in Sources */ = {isa = PBXBuildFile; fileRef = C89E75C22A46FB32000DD64F /* AppDelegate+Menu.swift */; };
4242
C8C8B60929AFA35F00034BEE /* CopilotForXcodeExtensionService.app in Embed XPCService */ = {isa = PBXBuildFile; fileRef = C861E60E2994F6070056CB02 /* CopilotForXcodeExtensionService.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
4343
C8DCF00029CE11D500FDDDD7 /* ChatWithSelection.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8DCEFFF29CE11D500FDDDD7 /* ChatWithSelection.swift */; };
44+
C8F1032B2A7A39D700D28F4F /* launchAgent.plist in Copy Launch Agent */ = {isa = PBXBuildFile; fileRef = C8F103292A7A365000D28F4F /* launchAgent.plist */; };
4445
/* End PBXBuildFile section */
4546

4647
/* Begin PBXContainerItemProxy section */
@@ -121,6 +122,17 @@
121122
name = "Embed Service";
122123
runOnlyForDeploymentPostprocessing = 0;
123124
};
125+
C8F1032A2A7A38D200D28F4F /* Copy Launch Agent */ = {
126+
isa = PBXCopyFilesBuildPhase;
127+
buildActionMask = 12;
128+
dstPath = Contents/Library/LaunchAgents;
129+
dstSubfolderSpec = 1;
130+
files = (
131+
C8F1032B2A7A39D700D28F4F /* launchAgent.plist in Copy Launch Agent */,
132+
);
133+
name = "Copy Launch Agent";
134+
runOnlyForDeploymentPostprocessing = 0;
135+
};
124136
/* End PBXCopyFilesBuildPhase section */
125137

126138
/* Begin PBXFileReference section */
@@ -161,6 +173,7 @@
161173
C861E61F2994F6390056CB02 /* ServiceDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServiceDelegate.swift; sourceTree = "<group>"; };
162174
C8758E6F29F04BFF00D29C1C /* CustomCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomCommand.swift; sourceTree = "<group>"; };
163175
C8758E7129F04CF100D29C1C /* SeparatorCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SeparatorCommand.swift; sourceTree = "<group>"; };
176+
C87903302A5D2E6400FE6F42 /* Pro */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = Pro; sourceTree = "<group>"; };
164177
C87B03A3293B24AB00C77EAE /* Copilot-for-Xcode-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "Copilot-for-Xcode-Info.plist"; sourceTree = SOURCE_ROOT; };
165178
C87B03A4293B261200C77EAE /* AcceptSuggestionCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AcceptSuggestionCommand.swift; sourceTree = "<group>"; };
166179
C87B03A6293B261900C77EAE /* RejectSuggestionCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RejectSuggestionCommand.swift; sourceTree = "<group>"; };
@@ -170,6 +183,7 @@
170183
C89E75C22A46FB32000DD64F /* AppDelegate+Menu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "AppDelegate+Menu.swift"; sourceTree = "<group>"; };
171184
C8CD828229B88006008D044D /* TestPlan.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = TestPlan.xctestplan; sourceTree = "<group>"; };
172185
C8DCEFFF29CE11D500FDDDD7 /* ChatWithSelection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatWithSelection.swift; sourceTree = "<group>"; };
186+
C8F103292A7A365000D28F4F /* launchAgent.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = launchAgent.plist; sourceTree = "<group>"; };
173187
/* End PBXFileReference section */
174188

175189
/* Begin PBXFrameworksBuildPhase section */
@@ -249,12 +263,14 @@
249263
C8520308293D805800460097 /* README.md */,
250264
C82E38492A1F025F00D4EADF /* LICENSE */,
251265
C83E5DED2A38CD8C0071506D /* Makefile */,
266+
C8F103292A7A365000D28F4F /* launchAgent.plist */,
252267
C81E867D296FE4420026E908 /* Version.xcconfig */,
253268
C81458AD293A009600135263 /* Config.xcconfig */,
254269
C81458AE293A009800135263 /* Config.debug.xcconfig */,
255270
C8CD828229B88006008D044D /* TestPlan.xctestplan */,
256271
C81D181E2A1B509B006C1B70 /* Tool */,
257272
C8189B282938979000C9DCDA /* Core */,
273+
C87903302A5D2E6400FE6F42 /* Pro */,
258274
C8189B182938972F00C9DCDA /* Copilot for Xcode */,
259275
C81458922939EFDC00135263 /* EditorExtension */,
260276
C8216B71298036EC00AD38C7 /* Helper */,
@@ -352,6 +368,7 @@
352368
C814589F2939EFDC00135263 /* Embed Foundation Extensions */,
353369
C8520306293CF0EF00460097 /* Embed XPCService */,
354370
C8C8B60829AFA32800034BEE /* Embed Service */,
371+
C8F1032A2A7A38D200D28F4F /* Copy Launch Agent */,
355372
);
356373
buildRules = (
357374
);

Copilot for Xcode.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

Copilot for Xcode/App.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ import SwiftUI
55
import UpdateChecker
66
import XPCShared
77

8+
struct VisualEffect: NSViewRepresentable {
9+
func makeNSView(context: Self.Context) -> NSView { return NSVisualEffectView() }
10+
func updateNSView(_ nsView: NSView, context: Context) { }
11+
}
12+
813
@main
914
struct CopilotForXcodeApp: App {
1015
var body: some Scene {
1116
WindowGroup {
1217
TabContainer()
1318
.frame(minWidth: 800, minHeight: 600)
19+
.background(VisualEffect().ignoresSafeArea())
1420
.onAppear {
1521
UserDefaults.setupDefaultSettings()
1622
}

0 commit comments

Comments
 (0)