We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13ccc5a + fd761f0 commit 4e9d39bCopy full SHA for 4e9d39b
1 file changed
OROpenInAppCode/OROpenInAppCode.m
@@ -67,11 +67,18 @@ - (void)openInAppCode:(id)sender
67
{
68
NSURL *currentFileURL = [self currentProjectURL];
69
if(currentFileURL) {
70
- [[NSWorkspace sharedWorkspace] openURLs:@[currentFileURL]
71
- withAppBundleIdentifier:@"com.jetbrains.AppCode"
72
- options:0
73
- additionalEventParamDescriptor:nil
74
- launchIdentifiers:nil];
+ NSArray *bundleIds = @[@"com.jetbrains.AppCode-EAP", @"com.jetbrains.AppCode"];
+ for (NSString *bundleIdentifier in bundleIds)
+ {
+ if ([[NSWorkspace sharedWorkspace] openURLs:@[currentFileURL]
+ withAppBundleIdentifier:bundleIdentifier
75
+ options:0
76
+ additionalEventParamDescriptor:nil
77
+ launchIdentifiers:nil])
78
79
+ break;
80
+ }
81
82
}
83
84
0 commit comments