├── .gitignore ├── LICENSE.txt ├── PluginConsole ├── PluginConsole.xcodeproj │ └── project.pbxproj └── PluginConsole │ ├── Client │ ├── LogClient.h │ └── LogClient.m │ ├── PluginConsole-Info.plist │ ├── PluginConsole-Prefix.pch │ ├── PluginConsole.h │ ├── PluginConsole.m │ ├── XcodeClasses │ ├── DVTFoundation.h │ ├── DVTKit.h │ ├── IDEFoundation.h │ ├── IDEKit.h │ └── IDESourceEditor.h │ └── en.lproj │ └── InfoPlist.strings └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | .DS_Store 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | *.xcworkspace 13 | !default.xcworkspace 14 | xcuserdata 15 | profile 16 | *.moved-aside 17 | DerivedData 18 | .idea/ 19 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Alex Severyanov 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /PluginConsole/PluginConsole.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1F6E690A1743F443006B46A0 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F6E69091743F443006B46A0 /* AppKit.framework */; }; 11 | 1F6E690C1743F443006B46A0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F6E690B1743F443006B46A0 /* Foundation.framework */; }; 12 | 1F6E69121743F443006B46A0 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1F6E69101743F443006B46A0 /* InfoPlist.strings */; }; 13 | 1F6E69151743F443006B46A0 /* PluginConsole.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F6E69141743F443006B46A0 /* PluginConsole.m */; }; 14 | 1F8BF0FA17442FBB005D984B /* LogClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F8BF0F917442FBB005D984B /* LogClient.m */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 1F6E69061743F443006B46A0 /* PluginConsole.xcplugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PluginConsole.xcplugin; sourceTree = BUILT_PRODUCTS_DIR; }; 19 | 1F6E69091743F443006B46A0 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 20 | 1F6E690B1743F443006B46A0 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 21 | 1F6E690F1743F443006B46A0 /* PluginConsole-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PluginConsole-Info.plist"; sourceTree = ""; }; 22 | 1F6E69111743F443006B46A0 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 23 | 1F6E69131743F443006B46A0 /* PluginConsole.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PluginConsole.h; sourceTree = ""; }; 24 | 1F6E69141743F443006B46A0 /* PluginConsole.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PluginConsole.m; sourceTree = ""; }; 25 | 1F6E69161743F443006B46A0 /* PluginConsole-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PluginConsole-Prefix.pch"; sourceTree = ""; }; 26 | 1F8BF0F817442FBB005D984B /* LogClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = LogClient.h; path = Client/LogClient.h; sourceTree = ""; }; 27 | 1F8BF0F917442FBB005D984B /* LogClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = LogClient.m; path = Client/LogClient.m; sourceTree = ""; }; 28 | 1FF5F377174416D30060D217 /* DVTFoundation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DVTFoundation.h; sourceTree = ""; }; 29 | 1FF5F378174416D30060D217 /* DVTKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DVTKit.h; sourceTree = ""; }; 30 | 1FF5F379174416D30060D217 /* IDEFoundation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDEFoundation.h; sourceTree = ""; }; 31 | 1FF5F37A174416D30060D217 /* IDEKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDEKit.h; sourceTree = ""; }; 32 | 1FF5F37B174416D30060D217 /* IDESourceEditor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDESourceEditor.h; sourceTree = ""; }; 33 | /* End PBXFileReference section */ 34 | 35 | /* Begin PBXFrameworksBuildPhase section */ 36 | 1F6E69031743F443006B46A0 /* Frameworks */ = { 37 | isa = PBXFrameworksBuildPhase; 38 | buildActionMask = 2147483647; 39 | files = ( 40 | 1F6E690A1743F443006B46A0 /* AppKit.framework in Frameworks */, 41 | 1F6E690C1743F443006B46A0 /* Foundation.framework in Frameworks */, 42 | ); 43 | runOnlyForDeploymentPostprocessing = 0; 44 | }; 45 | /* End PBXFrameworksBuildPhase section */ 46 | 47 | /* Begin PBXGroup section */ 48 | 1F6E68FD1743F443006B46A0 = { 49 | isa = PBXGroup; 50 | children = ( 51 | 1F6E690D1743F443006B46A0 /* PluginConsole */, 52 | 1F6E69081743F443006B46A0 /* Frameworks */, 53 | 1F6E69071743F443006B46A0 /* Products */, 54 | ); 55 | sourceTree = ""; 56 | }; 57 | 1F6E69071743F443006B46A0 /* Products */ = { 58 | isa = PBXGroup; 59 | children = ( 60 | 1F6E69061743F443006B46A0 /* PluginConsole.xcplugin */, 61 | ); 62 | name = Products; 63 | sourceTree = ""; 64 | }; 65 | 1F6E69081743F443006B46A0 /* Frameworks */ = { 66 | isa = PBXGroup; 67 | children = ( 68 | 1F6E69091743F443006B46A0 /* AppKit.framework */, 69 | 1F6E690B1743F443006B46A0 /* Foundation.framework */, 70 | ); 71 | name = Frameworks; 72 | sourceTree = ""; 73 | }; 74 | 1F6E690D1743F443006B46A0 /* PluginConsole */ = { 75 | isa = PBXGroup; 76 | children = ( 77 | 1F8BF0F717442F96005D984B /* Client */, 78 | 1FF5F376174416D30060D217 /* XcodeClasses */, 79 | 1F6E69131743F443006B46A0 /* PluginConsole.h */, 80 | 1F6E69141743F443006B46A0 /* PluginConsole.m */, 81 | 1F6E690E1743F443006B46A0 /* Supporting Files */, 82 | ); 83 | path = PluginConsole; 84 | sourceTree = ""; 85 | }; 86 | 1F6E690E1743F443006B46A0 /* Supporting Files */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 1F6E690F1743F443006B46A0 /* PluginConsole-Info.plist */, 90 | 1F6E69101743F443006B46A0 /* InfoPlist.strings */, 91 | 1F6E69161743F443006B46A0 /* PluginConsole-Prefix.pch */, 92 | ); 93 | name = "Supporting Files"; 94 | sourceTree = ""; 95 | }; 96 | 1F8BF0F717442F96005D984B /* Client */ = { 97 | isa = PBXGroup; 98 | children = ( 99 | 1F8BF0F817442FBB005D984B /* LogClient.h */, 100 | 1F8BF0F917442FBB005D984B /* LogClient.m */, 101 | ); 102 | name = Client; 103 | sourceTree = ""; 104 | }; 105 | 1FF5F376174416D30060D217 /* XcodeClasses */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 1FF5F377174416D30060D217 /* DVTFoundation.h */, 109 | 1FF5F378174416D30060D217 /* DVTKit.h */, 110 | 1FF5F379174416D30060D217 /* IDEFoundation.h */, 111 | 1FF5F37A174416D30060D217 /* IDEKit.h */, 112 | 1FF5F37B174416D30060D217 /* IDESourceEditor.h */, 113 | ); 114 | path = XcodeClasses; 115 | sourceTree = ""; 116 | }; 117 | /* End PBXGroup section */ 118 | 119 | /* Begin PBXNativeTarget section */ 120 | 1F6E69051743F443006B46A0 /* PluginConsole */ = { 121 | isa = PBXNativeTarget; 122 | buildConfigurationList = 1F6E69191743F443006B46A0 /* Build configuration list for PBXNativeTarget "PluginConsole" */; 123 | buildPhases = ( 124 | 1F6E69021743F443006B46A0 /* Sources */, 125 | 1F6E69031743F443006B46A0 /* Frameworks */, 126 | 1F6E69041743F443006B46A0 /* Resources */, 127 | ); 128 | buildRules = ( 129 | ); 130 | dependencies = ( 131 | ); 132 | name = PluginConsole; 133 | productName = PluginConsole; 134 | productReference = 1F6E69061743F443006B46A0 /* PluginConsole.xcplugin */; 135 | productType = "com.apple.product-type.bundle"; 136 | }; 137 | /* End PBXNativeTarget section */ 138 | 139 | /* Begin PBXProject section */ 140 | 1F6E68FE1743F443006B46A0 /* Project object */ = { 141 | isa = PBXProject; 142 | attributes = { 143 | LastUpgradeCheck = 0460; 144 | ORGANIZATIONNAME = "Александр Северьянов"; 145 | }; 146 | buildConfigurationList = 1F6E69011743F443006B46A0 /* Build configuration list for PBXProject "PluginConsole" */; 147 | compatibilityVersion = "Xcode 3.2"; 148 | developmentRegion = English; 149 | hasScannedForEncodings = 0; 150 | knownRegions = ( 151 | en, 152 | ); 153 | mainGroup = 1F6E68FD1743F443006B46A0; 154 | productRefGroup = 1F6E69071743F443006B46A0 /* Products */; 155 | projectDirPath = ""; 156 | projectRoot = ""; 157 | targets = ( 158 | 1F6E69051743F443006B46A0 /* PluginConsole */, 159 | ); 160 | }; 161 | /* End PBXProject section */ 162 | 163 | /* Begin PBXResourcesBuildPhase section */ 164 | 1F6E69041743F443006B46A0 /* Resources */ = { 165 | isa = PBXResourcesBuildPhase; 166 | buildActionMask = 2147483647; 167 | files = ( 168 | 1F6E69121743F443006B46A0 /* InfoPlist.strings in Resources */, 169 | ); 170 | runOnlyForDeploymentPostprocessing = 0; 171 | }; 172 | /* End PBXResourcesBuildPhase section */ 173 | 174 | /* Begin PBXSourcesBuildPhase section */ 175 | 1F6E69021743F443006B46A0 /* Sources */ = { 176 | isa = PBXSourcesBuildPhase; 177 | buildActionMask = 2147483647; 178 | files = ( 179 | 1F6E69151743F443006B46A0 /* PluginConsole.m in Sources */, 180 | 1F8BF0FA17442FBB005D984B /* LogClient.m in Sources */, 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | }; 184 | /* End PBXSourcesBuildPhase section */ 185 | 186 | /* Begin PBXVariantGroup section */ 187 | 1F6E69101743F443006B46A0 /* InfoPlist.strings */ = { 188 | isa = PBXVariantGroup; 189 | children = ( 190 | 1F6E69111743F443006B46A0 /* en */, 191 | ); 192 | name = InfoPlist.strings; 193 | sourceTree = ""; 194 | }; 195 | /* End PBXVariantGroup section */ 196 | 197 | /* Begin XCBuildConfiguration section */ 198 | 1F6E69171743F443006B46A0 /* Debug */ = { 199 | isa = XCBuildConfiguration; 200 | buildSettings = { 201 | ALWAYS_SEARCH_USER_PATHS = NO; 202 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 203 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 204 | CLANG_CXX_LIBRARY = "libc++"; 205 | CLANG_WARN_CONSTANT_CONVERSION = YES; 206 | CLANG_WARN_EMPTY_BODY = YES; 207 | CLANG_WARN_ENUM_CONVERSION = YES; 208 | CLANG_WARN_INT_CONVERSION = YES; 209 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 210 | COPY_PHASE_STRIP = NO; 211 | GCC_C_LANGUAGE_STANDARD = gnu99; 212 | GCC_DYNAMIC_NO_PIC = NO; 213 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 214 | GCC_OPTIMIZATION_LEVEL = 0; 215 | GCC_PREPROCESSOR_DEFINITIONS = ( 216 | "DEBUG=1", 217 | "$(inherited)", 218 | ); 219 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 220 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 221 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 222 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 223 | GCC_WARN_UNUSED_VARIABLE = YES; 224 | MACOSX_DEPLOYMENT_TARGET = 10.8; 225 | ONLY_ACTIVE_ARCH = YES; 226 | SDKROOT = macosx; 227 | }; 228 | name = Debug; 229 | }; 230 | 1F6E69181743F443006B46A0 /* Release */ = { 231 | isa = XCBuildConfiguration; 232 | buildSettings = { 233 | ALWAYS_SEARCH_USER_PATHS = NO; 234 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 235 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 236 | CLANG_CXX_LIBRARY = "libc++"; 237 | CLANG_WARN_CONSTANT_CONVERSION = YES; 238 | CLANG_WARN_EMPTY_BODY = YES; 239 | CLANG_WARN_ENUM_CONVERSION = YES; 240 | CLANG_WARN_INT_CONVERSION = YES; 241 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 242 | COPY_PHASE_STRIP = YES; 243 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 244 | GCC_C_LANGUAGE_STANDARD = gnu99; 245 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 246 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 247 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 248 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 249 | GCC_WARN_UNUSED_VARIABLE = YES; 250 | MACOSX_DEPLOYMENT_TARGET = 10.8; 251 | SDKROOT = macosx; 252 | }; 253 | name = Release; 254 | }; 255 | 1F6E691A1743F443006B46A0 /* Debug */ = { 256 | isa = XCBuildConfiguration; 257 | buildSettings = { 258 | COMBINE_HIDPI_IMAGES = YES; 259 | DEPLOYMENT_LOCATION = YES; 260 | DEPLOYMENT_POSTPROCESSING = YES; 261 | DSTROOT = "$(HOME)"; 262 | GCC_ENABLE_OBJC_GC = ""; 263 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 264 | GCC_PREFIX_HEADER = "PluginConsole/PluginConsole-Prefix.pch"; 265 | INFOPLIST_FILE = "PluginConsole/PluginConsole-Info.plist"; 266 | INSTALL_PATH = "/Library/Application Support/Developer/Shared/Xcode/Plug-ins"; 267 | LD_RUNPATH_SEARCH_PATHS = /Developer; 268 | MACOSX_DEPLOYMENT_TARGET = 10.7; 269 | PRODUCT_NAME = "$(TARGET_NAME)"; 270 | WRAPPER_EXTENSION = xcplugin; 271 | }; 272 | name = Debug; 273 | }; 274 | 1F6E691B1743F443006B46A0 /* Release */ = { 275 | isa = XCBuildConfiguration; 276 | buildSettings = { 277 | COMBINE_HIDPI_IMAGES = YES; 278 | DEPLOYMENT_LOCATION = YES; 279 | DEPLOYMENT_POSTPROCESSING = YES; 280 | DSTROOT = "$(HOME)"; 281 | GCC_ENABLE_OBJC_GC = ""; 282 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 283 | GCC_PREFIX_HEADER = "PluginConsole/PluginConsole-Prefix.pch"; 284 | INFOPLIST_FILE = "PluginConsole/PluginConsole-Info.plist"; 285 | INSTALL_PATH = "/Library/Application Support/Developer/Shared/Xcode/Plug-ins"; 286 | LD_RUNPATH_SEARCH_PATHS = /Developer; 287 | MACOSX_DEPLOYMENT_TARGET = 10.7; 288 | PRODUCT_NAME = "$(TARGET_NAME)"; 289 | WRAPPER_EXTENSION = xcplugin; 290 | }; 291 | name = Release; 292 | }; 293 | /* End XCBuildConfiguration section */ 294 | 295 | /* Begin XCConfigurationList section */ 296 | 1F6E69011743F443006B46A0 /* Build configuration list for PBXProject "PluginConsole" */ = { 297 | isa = XCConfigurationList; 298 | buildConfigurations = ( 299 | 1F6E69171743F443006B46A0 /* Debug */, 300 | 1F6E69181743F443006B46A0 /* Release */, 301 | ); 302 | defaultConfigurationIsVisible = 0; 303 | defaultConfigurationName = Release; 304 | }; 305 | 1F6E69191743F443006B46A0 /* Build configuration list for PBXNativeTarget "PluginConsole" */ = { 306 | isa = XCConfigurationList; 307 | buildConfigurations = ( 308 | 1F6E691A1743F443006B46A0 /* Debug */, 309 | 1F6E691B1743F443006B46A0 /* Release */, 310 | ); 311 | defaultConfigurationIsVisible = 0; 312 | defaultConfigurationName = Release; 313 | }; 314 | /* End XCConfigurationList section */ 315 | }; 316 | rootObject = 1F6E68FE1743F443006B46A0 /* Project object */; 317 | } 318 | -------------------------------------------------------------------------------- /PluginConsole/PluginConsole/Client/LogClient.h: -------------------------------------------------------------------------------- 1 | // 2 | // LogClient.h 3 | // PluginConsole 4 | // 5 | // Created by Александр Северьянов on 16.05.13. 6 | // Copyright (c) 2013 Александр Северьянов. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | extern NSString * const PluginLoggerShouldLogNotification; 12 | 13 | FOUNDATION_EXPORT void PluginLogWithName(NSString *pluginName, NSString *format, ...) NS_FORMAT_FUNCTION(2,3); 14 | FOUNDATION_EXPORT void PluginLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2); 15 | 16 | -------------------------------------------------------------------------------- /PluginConsole/PluginConsole/Client/LogClient.m: -------------------------------------------------------------------------------- 1 | // 2 | // LogClient.m 3 | // PluginConsole 4 | // 5 | // Created by Александр Северьянов on 16.05.13. 6 | // Copyright (c) 2013 Александр Северьянов. All rights reserved. 7 | // 8 | 9 | #import "LogClient.h" 10 | #import 11 | 12 | NSString * const PluginLoggerShouldLogNotification = @"PluginLoggerShouldLogNotification"; 13 | 14 | void PluginLogWithName(NSString *pluginName, NSString *format, ...) 15 | { 16 | NSString *name = @""; 17 | if (pluginName.length) { 18 | name = pluginName; 19 | } 20 | va_list argumentList; 21 | va_start(argumentList, format); 22 | NSString *string = [NSString stringWithFormat:@"%@ Plugin Console %@: ", [NSDate date], name]; 23 | NSString* msg = [[NSString alloc] initWithFormat:[NSString stringWithFormat:@"%@%@",string, format] arguments:argumentList]; 24 | NSMutableAttributedString *logString = [[NSMutableAttributedString alloc] initWithString:msg attributes:nil]; 25 | #if !__has_feature(objc_arc) 26 | [msg autorelease]; 27 | [logString autorelease]; 28 | #endif 29 | [logString setAttributes:[NSDictionary dictionaryWithObject:[NSFont fontWithName:@"Helvetica-Bold" size:15.f] forKey:NSFontAttributeName] range:NSMakeRange(0, string.length)]; 30 | [[NSNotificationCenter defaultCenter] postNotificationName:PluginLoggerShouldLogNotification object:logString]; 31 | va_end(argumentList); 32 | } 33 | 34 | void PluginLog(NSString *format, ...) 35 | { 36 | va_list argumentList; 37 | va_start(argumentList, format); 38 | NSString *string = [NSString stringWithFormat:@"%@ Plugin Console: ", [NSDate date]]; 39 | NSString* msg = [[NSString alloc] initWithFormat:[NSString stringWithFormat:@"%@%@",string, format] arguments:argumentList]; 40 | NSMutableAttributedString *logString = [[NSMutableAttributedString alloc] initWithString:msg attributes:nil]; 41 | #if !__has_feature(objc_arc) 42 | [msg autorelease]; 43 | [logString autorelease]; 44 | #endif 45 | [logString setAttributes:[NSDictionary dictionaryWithObject:[NSFont fontWithName:@"Helvetica-Bold" size:15.f] forKey:NSFontAttributeName] range:NSMakeRange(0, string.length)]; 46 | [[NSNotificationCenter defaultCenter] postNotificationName:PluginLoggerShouldLogNotification object:logString]; 47 | va_end(argumentList); 48 | } 49 | -------------------------------------------------------------------------------- /PluginConsole/PluginConsole/PluginConsole-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSPrincipalClass 6 | PluginConsole 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.moqod.${PRODUCT_NAME:rfc1034identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | BNDL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | 1 27 | XC4Compatible 28 | 29 | XCGCReady 30 | 31 | XCPluginHasUI 32 | 33 | DVTPlugInCompatibilityUUIDs 34 | 35 | 9AFF134A-08DC-4096-8CEE-62A4BB123046 36 | 63FC1C47-140D-42B0-BB4D-A10B2D225574 37 | 37B30044-3B14-46BA-ABAA-F01000C27B63 38 | 640F884E-CE55-4B40-87C0-8869546CAB7A 39 | A2E4D43F-41F4-4FB9-BB94-7177011C9AED 40 | AD68E85B-441B-4301-B564-A45E4919A6AD 41 | C4A681B0-4A26-480E-93EC-1218098B9AA0 42 | FEC992CC-CA4A-4CFD-8881-77300FCB848A 43 | 992275C1-432A-4CF7-B659-D84ED6D42D3F 44 | A16FF353-8441-459E-A50C-B071F53F51B7 45 | 9F75337B-21B4-4ADC-B558-F9CADF7073A7 46 | 992275C1-432A-4CF7-B659-D84ED6D42D3F 47 | 8DC44374-2B35-4C57-A6FE-2AD66A36AAD9 48 | E969541F-E6F9-4D25-8158-72DC3545A6C6 49 | AABB7188-E14E-4433-AD3B-5CD791EAD9A3 50 | 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90 51 | 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 52 | CC0D0F4F-05B3-431A-8F33-F84AFCB2C651 53 | 7265231C-39B4-402C-89E1-16167C4CC990 54 | F41BD31E-2683-44B8-AE7F-5F09E919790E 55 | E71C2CFE-BFD8-4044-8F06-00AE685A406C 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /PluginConsole/PluginConsole/PluginConsole-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'PluginConsole' target in the 'PluginConsole' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /PluginConsole/PluginConsole/PluginConsole.h: -------------------------------------------------------------------------------- 1 | // 2 | // PluginConsole.h 3 | // PluginConsole 4 | // 5 | // Created by Александр Северьянов on 15.05.13. 6 | // Copyright (c) 2013 Александр Северьянов. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface PluginConsole : NSObject 12 | { 13 | NSMutableSet *_windowsSet; 14 | NSMutableSet *_buttons; 15 | } 16 | @end -------------------------------------------------------------------------------- /PluginConsole/PluginConsole/PluginConsole.m: -------------------------------------------------------------------------------- 1 | // 2 | // PluginConsole.m 3 | // PluginConsole 4 | // 5 | // Created by Александр Северьянов on 15.05.13. 6 | // Copyright (c) 2013 Александр Северьянов. All rights reserved. 7 | // 8 | 9 | #import "PluginConsole.h" 10 | #import "IDEKit.h" 11 | #import "LogClient.h" 12 | 13 | typedef NS_ENUM(NSInteger, ConsoleMode) { 14 | ConsoleModeDefault = 0, 15 | ConsoleModePlugins, 16 | }; 17 | 18 | @implementation PluginConsole 19 | 20 | 21 | + (void)pluginDidLoad:(NSBundle *)plugin 22 | { 23 | static id sharedPlugin = nil; 24 | static dispatch_once_t onceToken; 25 | dispatch_once(&onceToken, ^{ 26 | sharedPlugin = [[self alloc] init]; 27 | }); 28 | } 29 | 30 | - (id)init 31 | { 32 | if (self = [super init]) { 33 | _windowsSet = [[NSMutableSet alloc] init]; 34 | _buttons = [[NSMutableSet alloc] init]; 35 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(closeWindowNotification:) name:NSWindowWillCloseNotification object:nil]; 36 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(activeNotification:) name:NSWindowDidUpdateNotification object:nil]; 37 | } 38 | return self; 39 | } 40 | 41 | - (void)closeWindowNotification:(NSNotification *)note { 42 | NSWindow *window = note.object; 43 | if (window) { 44 | NSButton *button = nil; 45 | for (NSButton *btn in _buttons) { 46 | if (btn.window == window) { 47 | button = btn; 48 | break; 49 | } 50 | } 51 | if (button) { 52 | [_buttons removeObject:button]; 53 | } 54 | [_windowsSet removeObject:window]; 55 | } 56 | } 57 | 58 | - (void)activeNotification:(NSNotification *)notif 59 | { 60 | for (NSWindow *window in [NSApp windows]) { 61 | if ([_windowsSet containsObject:window]) continue; 62 | NSView *contentView = window.contentView; 63 | IDEConsoleTextView *console = [self consoleViewInMainView:contentView]; 64 | DVTScopeBarView *scopeBar = nil; 65 | NSView *parent = console.superview; 66 | while (!scopeBar) { 67 | if (!parent) break; 68 | scopeBar = [self scopeBarViewInView:parent]; 69 | parent = parent.superview; 70 | } 71 | if (scopeBar) { 72 | // if (scopeBar.subviews.count > 3) continue; 73 | NSButton *button = [[NSButton alloc] initWithFrame:NSMakeRect(10.0f, 10.0f, 100.f, 20.f)]; 74 | #if !__has_feature(objc_arc) 75 | [button autorelease]; 76 | #endif 77 | [button setButtonType:NSOnOffButton]; 78 | [button setBezelStyle:NSSmallSquareBezelStyle]; 79 | [button setFont:[NSFont fontWithName:@"Helvetica" size:9.f]]; 80 | [button setTitle:@"Show Log of Plugins"]; 81 | button.target = self; 82 | button.action = @selector(buttonAction:); 83 | [scopeBar addViewOnRight:button]; 84 | [_windowsSet addObject:window]; 85 | [_buttons addObject:button]; 86 | } 87 | } 88 | } 89 | 90 | - (void)buttonAction:(NSButton *)sender 91 | { 92 | for (NSButton *btn in _buttons) { 93 | [btn setState:sender.state]; 94 | } 95 | if (sender.state == NSOnState) { 96 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(addLog:) name:PluginLoggerShouldLogNotification object:nil]; 97 | } else { 98 | [[NSNotificationCenter defaultCenter] removeObserver:self name:PluginLoggerShouldLogNotification object:nil]; 99 | } 100 | } 101 | 102 | - (void)addLog:(NSNotification *)notification 103 | { 104 | for (NSWindow *window in [NSApp windows]) { 105 | NSView *contentView = window.contentView; 106 | IDEConsoleTextView *console = [self consoleViewInMainView:contentView]; 107 | console.logMode = 1; 108 | [console insertText:notification.object]; 109 | [console insertNewline:@""]; 110 | // console.logMode = 0; 111 | } 112 | } 113 | 114 | - (IDEConsoleTextView *)consoleViewInMainView:(NSView *)mainView 115 | { 116 | for (NSView *childView in mainView.subviews) { 117 | if ([childView isKindOfClass:NSClassFromString(@"IDEConsoleTextView")]) { 118 | return (IDEConsoleTextView *)childView; 119 | } else { 120 | NSView *v = [self consoleViewInMainView:childView]; 121 | if ([v isKindOfClass:NSClassFromString(@"IDEConsoleTextView")]) { 122 | return (IDEConsoleTextView *)v; 123 | } 124 | } 125 | } 126 | return nil; 127 | } 128 | 129 | - (DVTScopeBarView *)scopeBarViewInView:(NSView *)view { 130 | for (NSView *childView in view.subviews) { 131 | if ([childView isKindOfClass:NSClassFromString(@"DVTScopeBarView")]) { 132 | return (DVTScopeBarView *)childView; 133 | } else { 134 | NSView *v = [self scopeBarViewInView:childView]; 135 | if ([v isKindOfClass:NSClassFromString(@"DVTScopeBarView")]) { 136 | return (DVTScopeBarView *)v; 137 | } 138 | } 139 | } 140 | return nil; 141 | } 142 | 143 | - (void)dealloc 144 | { 145 | #if !__has_feature(objc_arc) 146 | [_buttons release]; 147 | [_windowsSet release]; 148 | #endif 149 | [[NSNotificationCenter defaultCenter] removeObserver:self]; 150 | [super dealloc]; 151 | } 152 | 153 | @end 154 | -------------------------------------------------------------------------------- /PluginConsole/PluginConsole/XcodeClasses/IDESourceEditor.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #pragma GCC system_header 8 | 9 | #import "DVTKit.h" 10 | #import "IDEKit.h" 11 | 12 | @class IDEAnalyzerResultsVisualization; 13 | @class IDEBlameDetailPopUpController; 14 | @class IDESourceCodeBlameController; 15 | @class IDEDiagnosticGeneratorOperation; 16 | @class IDESourceCodeBlameItem; 17 | @class IDESourceCodeDocument; 18 | @class IDESourceCodeEditorContainerView; 19 | @class IDESourceCodeHelpNavigationRequest; 20 | @class IDESourceCodeEditor; 21 | @class IDESourceCodeEditorAnnotationProvider; 22 | @class IDESourceCodeNavigationRequest; 23 | 24 | #pragma mark Named Structures 25 | 26 | #pragma mark - 27 | 28 | /* 29 | * File: /Developer/Applications/Xcode.app/Contents/PlugIns/IDESourceEditor.ideplugin/Contents/MacOS/IDESourceEditor 30 | * UUID: B1776C9F-426F-3F26-91A8-4DD2E5F24F78 31 | * Arch: Intel x86-64 (x86_64) 32 | * Current version: 1175.0.0, Compatibility version: 1.0.0 33 | * Minimum Mac OS X version: 10.7.0 34 | * 35 | * Objective-C Garbage Collection: Required 36 | */ 37 | 38 | @protocol DVTCompletingTextViewDelegate 39 | 40 | @optional 41 | - (BOOL)completingTextViewHandleCancel:(id)arg1; 42 | - (unsigned long long)textView:(id)arg1 lineEndingForWritingSelectionToPasteboard:(id)arg2 type:(id)arg3; 43 | - (unsigned long long)textView:(id)arg1 lineEndingForReadingSelectionFromPasteboard:(id)arg2 type:(id)arg3; 44 | - (void)textView:(id)arg1 layoutManager:(id)arg2 didLayoutGlyphsUpToCharacterIndex:(unsigned long long)arg3; 45 | - (id)completingTextView:(id)arg1 documentLocationForWordStartLocation:(unsigned long long)arg2; 46 | - (void)completingTextView:(id)arg1 willPassContextToStrategies:(id)arg2 atWordStartLocation:(unsigned long long)arg3; 47 | @end 48 | 49 | @protocol DVTDiffSessionDelegate 50 | 51 | @optional 52 | - (void)diffSessionDidScrapeDiffResults:(id)arg1; 53 | - (void)diffSessionWillScrapeDiffResults:(id)arg1; 54 | @end 55 | 56 | @protocol DVTFindBarFindable 57 | 58 | @optional 59 | - (id)startingLocationForFindBar:(id)arg1 findingBackwards:(BOOL)arg2; 60 | - (void)dvtFindBar:(id)arg1 didUpdateCurrentResult:(id)arg2; 61 | - (void)dvtFindBar:(id)arg1 didUpdateResults:(id)arg2; 62 | @end 63 | /* 64 | @protocol DVTInvalidation 65 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 66 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 67 | - (void)invalidate; 68 | @end 69 | */ 70 | @protocol DVTMessageBubbleAnnotationDelegate 71 | 72 | @optional 73 | - (void)didClickMessageBubbleForAnnotation:(id)arg1 onIcon:(BOOL)arg2 inTextView:(id)arg3 event:(id)arg4; 74 | @end 75 | /* 76 | @protocol DVTScopeBarContentController 77 | @property(readonly) double preferredViewHeight; 78 | 79 | @optional 80 | - (void)didPressDismissOnScopeBar:(id)arg1; 81 | @end 82 | */ 83 | @protocol DVTSourceExpressionSource 84 | @property(readonly, nonatomic) DVTSourceExpression *mouseOverExpression; 85 | @property(readonly, nonatomic) struct CGRect currentSelectionFrame; 86 | @property(readonly) DVTSourceExpression *contextMenuExpression; 87 | @property(readonly, nonatomic) DVTSourceExpression *selectedExpression; 88 | - (struct CGRect)expressionFrameForExpression:(id)arg1; 89 | 90 | @optional 91 | @property(readonly) DVTSourceExpression *quickHelpExpression; 92 | - (void)unregisterMouseOverExpressionObserver:(id)arg1; 93 | - (void)registerMouseOverExpressionObserver:(id)arg1; 94 | - (void)unregisterSelectedExpressionObserver:(id)arg1; 95 | - (void)registerSelectedExpressionObserver:(id)arg1; 96 | @end 97 | 98 | @protocol DVTSourceLandmarkProvider 99 | - (id)documentLocationFromCharacterRange:(struct _NSRange)arg1; 100 | - (struct _NSRange)characterRangeFromDocumentLocation:(id)arg1; 101 | - (struct _NSRange)lineRangeOfSourceLandmark:(id)arg1; 102 | - (id)sourceLandmarkItemAtLineNumber:(unsigned long long)arg1; 103 | - (id)sourceLandmarkItemAtCharacterIndex:(unsigned long long)arg1; 104 | @end 105 | 106 | @protocol DVTSourceTextStorageDelegate 107 | 108 | @optional 109 | - (BOOL)textStorageShouldAllowEditing:(id)arg1; 110 | - (void)textStorageDidUpdateSourceLandmarks:(id)arg1; 111 | - (long long)nodeTypeForItem:(id)arg1 withContext:(id)arg2; 112 | @end 113 | 114 | @protocol DVTSourceTextViewDelegate 115 | 116 | @optional 117 | - (id)textViewWillReturnPrintJobTitle:(id)arg1; 118 | - (id)cursorForAltTemporaryLink; 119 | - (void)textViewDidScroll:(id)arg1; 120 | - (void)setupGutterContextMenuWithMenu:(id)arg1; 121 | - (void)setupTextViewContextMenuWithMenu:(id)arg1; 122 | - (void)tokenizableItemsForItemAtRealRange:(struct _NSRange)arg1 completionBlock:(id)arg2; 123 | - (void)textViewDidFinishAnimatingScroll:(id)arg1; 124 | - (void)textViewDidLoadAnnotationProviders:(id)arg1; 125 | - (void)textView:(id)arg1 didRemoveAnnotations:(id)arg2; 126 | - (void)textView:(id)arg1 didAddAnnotations:(id)arg2; 127 | - (id)annotationContextForTextView:(id)arg1; 128 | - (id)syntaxColoringContextForTextView:(id)arg1; 129 | - (void)textViewDidChangeFolding:(id)arg1; 130 | - (void)textViewWillChangeFolding:(id)arg1; 131 | - (void)textView:(id)arg1 didClickOnTemporaryLinkAtCharacterIndex:(unsigned long long)arg2 event:(id)arg3 isAltEvent:(BOOL)arg4; 132 | - (BOOL)textView:(id)arg1 shouldShowTemporaryLinkForCharacterAtIndex:(unsigned long long)arg2 proposedRange:(struct _NSRange)arg3 effectiveRanges:(id *)arg4; 133 | - (void)textView:(id)arg1 handleMouseDidExitSidebar:(id)arg2; 134 | - (void)textView:(id)arg1 handleMouseDidMoveOverSidebar:(id)arg2 atLineNumber:(unsigned long long)arg3; 135 | - (void)textView:(id)arg1 handleMouseDownInSidebar:(id)arg2 atLineNumber:(unsigned long long)arg3; 136 | @end 137 | 138 | @protocol DVTTextAnnotationDelegate 139 | 140 | @optional 141 | - (void)annotation:(id)arg1 willDrawInTextSidebarView:(id)arg2 withAnnotationsInSameLine:(id)arg3; 142 | - (BOOL)annotation:(id)arg1 shouldDrawInTextSidebarView:(id)arg2 withAnnotationsInSameLine:(id)arg3; 143 | - (double)sidebarMarkerOpacityForAnnotation:(id)arg1; 144 | - (BOOL)shouldMoveCursorForAnnotation:(id)arg1; 145 | - (id)contextMenuItemsForAnnotation:(id)arg1 inTextSidebarView:(id)arg2; 146 | - (void)didDeleteOrReplaceParagraphForAnnotation:(id)arg1; 147 | - (void)didRemoveAnnotation:(id)arg1; 148 | - (void)didMoveAnnotation:(id)arg1; 149 | - (unsigned long long)annotation:(id)arg1 willMoveToParagraphNumber:(unsigned long long)arg2; 150 | - (void)didDragAnnotation:(id)arg1 inTextSidebarView:(id)arg2 event:(id)arg3; 151 | - (void)didEndRolloverOnAnnotation:(id)arg1 inTextSidebarView:(id)arg2 event:(id)arg3; 152 | - (void)didBeginRolloverOnAnnotation:(id)arg1 inTextSidebarView:(id)arg2 event:(id)arg3; 153 | - (void)didClickAnnotation:(id)arg1 inTextSidebarView:(id)arg2 event:(id)arg3; 154 | @end 155 | /* 156 | @protocol DVTTextFindable 157 | - (id)findStringMatchingDescriptor:(id)arg1 backwards:(BOOL)arg2 from:(id)arg3 to:(id)arg4; 158 | 159 | @optional 160 | @property unsigned long long supportedMatchingOptions; 161 | @end 162 | */ 163 | @protocol DVTTextReplacable 164 | - (BOOL)replaceFindResults:(id)arg1 withString:(id)arg2 withError:(id *)arg3; 165 | 166 | @optional 167 | - (BOOL)replaceTextWithContentsOfURL:(id)arg1 error:(id *)arg2; 168 | @end 169 | /* 170 | @protocol IDEBlueprint 171 | @property(readonly) NSString *blueprintIdentifier; 172 | @property(readonly) NSString *name; 173 | - (void)addFileReference:(id)arg1 toBuildablesContainingFileReference:(id)arg2; 174 | - (BOOL)containsFilePath:(id)arg1; 175 | - (BOOL)containsFileReference:(id)arg1; 176 | - (id)buildableProducts; 177 | - (id)buildables; 178 | - (id)primaryBuildable; 179 | - (id)buildableForIdentifier:(id)arg1; 180 | - (id)localizedDescription; 181 | - (id)customDataStore; 182 | - (id)blueprintProvider; 183 | 184 | @optional 185 | - (id)valueForOverridingBuildSettingKey:(id)arg1 sourceCodeBuildFileReferences:(id)arg2; 186 | - (void)setValue:(id)arg1 forOverridingBuildSettingKey:(id)arg2 sourceCodeBuildFileReference:(id)arg3; 187 | - (id)valueForBuildSettingKey:(id)arg1 sourceCodeBuildFileReferences:(id)arg2; 188 | - (void)setValue:(id)arg1 forBuildSettingKey:(id)arg2 sourceCodeBuildFileReference:(id)arg3; 189 | - (id)sourceCodeBuildFileReferences; 190 | - (void)convertToUseARC; 191 | - (BOOL)canConvertToUseARC; 192 | - (void)convertToBuild64bitOnly; 193 | - (void)convertToUseClang; 194 | - (id)deviceSDKFor:(id)arg1 SDKs:(id)arg2; 195 | - (id)simulatorSDKFor:(id)arg1 SDKs:(id)arg2; 196 | - (id)specifiedBaseSDKForBuildConfigurationName:(id)arg1; 197 | - (id)baseSDKForBuildConfigurationName:(id)arg1; 198 | - (id)supportedPlatformsForConfiguration:(id)arg1 workspaceArenaSnapshot:(id)arg2; 199 | - (id)compilerSpecificationIdentifier; 200 | - (id)availableArchitecturesForConfiguration:(id)arg1 workspaceArenaSnapshot:(id)arg2; 201 | - (id)defaultConfigurationName; 202 | - (id)availableConfigurationNames; 203 | @end 204 | */ 205 | @protocol IDEBlueprintProvider 206 | - (id)testableProdiver; 207 | - (id)blueprintForName:(id)arg1; 208 | - (id)blueprintForIdentifier:(id)arg1; 209 | - (id)classPrefix; 210 | - (id)organizationName; 211 | - (id)name; 212 | - (id)blueprints; 213 | @end 214 | 215 | @protocol IDECommandHandler 216 | @end 217 | 218 | @protocol IDECommandHandlerVendor 219 | + (id)handlerForAction:(SEL)arg1 withSelectionSource:(id)arg2; 220 | @end 221 | 222 | @protocol IDEComparisonEditorDelegate 223 | 224 | @optional 225 | - (BOOL)comparisonEditorShouldCloseDocumentsDuringWillOpenSpecifier:(id)arg1; 226 | - (void)comparisonEditor:(id)arg1 didReplaceAncestorDocument:(id)arg2; 227 | - (void)comparisonEditor:(id)arg1 willReplaceAncestorDocument:(id)arg2; 228 | - (id)comparisonEditor:(id)arg1 substituteDocumentLocationForAncestorDocumentLocation:(id)arg2; 229 | - (void)comparisonEditor:(id)arg1 didReplaceSecondaryDocument:(id)arg2; 230 | - (void)comparisonEditor:(id)arg1 willReplaceSecondaryDocument:(id)arg2; 231 | - (id)comparisonEditor:(id)arg1 substituteDocumentLocationForSecondaryDocumentLocation:(id)arg2; 232 | - (void)comparisonEditor:(id)arg1 didReplacePrimaryDocument:(id)arg2; 233 | - (void)comparisonEditor:(id)arg1 willReplacePrimaryDocument:(id)arg2; 234 | - (id)comparisonEditor:(id)arg1 substituteDocumentLocationForPrimaryDocumentLocation:(id)arg2; 235 | @end 236 | 237 | @protocol IDEComparisonEditorHostContext 238 | - (BOOL)editorDocumentIsCurrentRevision; 239 | - (BOOL)editorIsHostedInComparisonEditor; 240 | 241 | @optional 242 | - (BOOL)editorWantsAnnotationsFromProviderClass:(Class)arg1; 243 | @end 244 | /* 245 | @protocol IDEDocumentStructureProviding 246 | @property(readonly) NSArray *ideTopLevelStructureObjects; 247 | @end 248 | */ 249 | @protocol IDEEditorDelegate 250 | 251 | @optional 252 | - (id)scopeBarsManagerForEditor:(id)arg1; 253 | @end 254 | 255 | @protocol IDEGeniusResultNavigableRepresentedObject 256 | - (id)geniusResult_identifierForGeniusCategory; 257 | - (id)geniusResult_identifierForManualCategory; 258 | @end 259 | /* 260 | @protocol IDEIntegrityLogDataSource 261 | @property(readonly) IDEActivityLogSection *integrityLog; 262 | - (void)analyzeModelIntegrity; 263 | @end 264 | 265 | @protocol IDEOpenQuicklyInitialStringProvider 266 | @property(readonly) NSString *openQuicklyInitialString; 267 | @end 268 | */ 269 | @protocol IDEOpenQuicklyJumpToSupport 270 | - (id)currentEditorContext; 271 | - (id)documentLocationForOpenQuicklyQuery:(id)arg1; 272 | @end 273 | 274 | @protocol IDERefactoringExpressionSource 275 | - (id)refactoringExpressionUsingContextMenu:(BOOL)arg1; 276 | @end 277 | 278 | @protocol IDESourceCodeBlameControllerDelegate 279 | - (void)blameController:(id)arg1 showRevision:(id)arg2; 280 | - (void)blameController:(id)arg1 diffAgainstRevision:(id)arg2; 281 | - (void)blameController:(id)arg1 compareToRevision:(id)arg2; 282 | - (void)blameController:(id)arg1 compareRevisionToPreviousRevision:(id)arg2; 283 | 284 | @optional 285 | - (void)blameController:(id)arg1 didEncounterError:(id)arg2; 286 | @end 287 | 288 | @protocol IDESourceCodeGenerationDestination 289 | - (id)sourceCodeGenerator:(id)arg1 commitInsertionOfSourceCodeForCompositeResult:(id)arg2 error:(id *)arg3; 290 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCAtSynthesizeWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 291 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCPropertyReleaseForTeardownWithName:(id)arg2 type:(id)arg3 inClassNamed:(id)arg4 options:(id)arg5 error:(id *)arg6; 292 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCPropertyDeclarationWithName:(id)arg2 type:(id)arg3 inClassNamed:(id)arg4 options:(id)arg5 error:(id *)arg6; 293 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCInstanceVariableReleaseForTeardownWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 294 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCInstanceVariableDeclarationWithName:(id)arg2 type:(id)arg3 inClassNamed:(id)arg4 options:(id)arg5 error:(id *)arg6; 295 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCClassMethodDefinitionWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 296 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCClassMethodDeclarationWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 297 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCInstanceMethodDefinitionWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 298 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCInstanceMethodDeclarationWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 299 | - (id)supportedSourceCodeLanguagesForSourceCodeGeneration; 300 | @end 301 | 302 | @protocol IDESourceEditorViewControllerHost 303 | 304 | @optional 305 | - (void)textViewDidLoadAnnotationProviders:(id)arg1; 306 | - (void)textViewDidScroll:(id)arg1; 307 | - (void)textViewDidFinishAnimatingScroll:(id)arg1; 308 | - (id)textView:(id)arg1 menu:(id)arg2 forEvent:(id)arg3 atIndex:(unsigned long long)arg4; 309 | - (id)annotationContextForTextView:(id)arg1; 310 | @end 311 | 312 | @protocol IDESourceExpressionSource 313 | - (BOOL)expressionContainsExecutableCode:(id)arg1; 314 | - (BOOL)isExpressionFunctionOrMethodCall:(id)arg1; 315 | - (BOOL)isExpressionInFunctionOrMethodBody:(id)arg1; 316 | - (BOOL)isExpressionFunctionOrMethodDefinition:(id)arg1; 317 | - (BOOL)isExpressionWithinComment:(id)arg1; 318 | - (void)symbolsForExpression:(id)arg1 inQueue:(struct dispatch_queue_s *)arg2 completionBlock:(id)arg3; 319 | 320 | @optional 321 | - (id)importStringInExpression:(id)arg1; 322 | @end 323 | 324 | @protocol IDETextVisualizationHost 325 | @property(readonly) NSArray *visualizations; 326 | @property(readonly) DVTSourceTextView *textView; 327 | - (void)removeVisualization:(id)arg1 fadeOut:(BOOL)arg2 completionBlock:(id)arg3; 328 | - (void)addVisualization:(id)arg1 fadeIn:(BOOL)arg2 completionBlock:(id)arg3; 329 | @end 330 | 331 | @interface IDEAnalyzerResultsControlFlowPath : NSObject 332 | { 333 | struct CGSize _cachedCharacterSize; 334 | long long _indentWidth; 335 | IDEActivityLogAnalyzerControlFlowStepEdge *_edge; 336 | IDEAnalyzerResultsVisualization *_visualization; 337 | } 338 | 339 | @property(readonly) IDEAnalyzerResultsVisualization *visualization; // @synthesize visualization=_visualization; 340 | @property(readonly) IDEActivityLogAnalyzerControlFlowStepEdge *edge; // @synthesize edge=_edge; 341 | - (void)drawInRect:(struct CGRect)arg1 highlight:(BOOL)arg2; 342 | - (id)outgoingControlFlowPathsFromEndRange; 343 | - (id)outgoingControlFlowPathsFromStartRange; 344 | - (id)incommingControlFlowPathsToEndRange; 345 | - (id)incommingControlFlowPathsToStartRange; 346 | @property(readonly) struct CGRect endRect; 347 | @property(readonly) struct CGRect startRect; 348 | @property(readonly) struct _NSRange endRange; 349 | @property(readonly) struct _NSRange startRange; 350 | @property(readonly) int type; 351 | - (id)initWithEdge:(id)arg1 visualization:(id)arg2; 352 | 353 | @end 354 | 355 | @interface IDEAnalyzerResultsExplorer : DVTViewController 356 | { 357 | NSPopUpButton *_stepsPopupButton; 358 | NSSegmentedControl *_navSegmentedControl; 359 | NSMutableArray *_stepAnnotations; 360 | IDESourceCodeEditor *_editor; 361 | IDEActivityLogAnalyzerResultMessage *_analyzerMessage; 362 | NSArray *_eventStepMessages; 363 | IDEAnalyzerResultsVisualization *_stepsVisualization; 364 | long long _currentStepIndex; 365 | } 366 | 367 | + (void)initialize; 368 | @property(retain) IDEAnalyzerResultsVisualization *stepsVisualization; // @synthesize stepsVisualization=_stepsVisualization; 369 | @property(nonatomic) long long currentStepIndex; // @synthesize currentStepIndex=_currentStepIndex; 370 | @property(retain) NSArray *eventStepMessages; // @synthesize eventStepMessages=_eventStepMessages; 371 | @property(retain, nonatomic) IDEActivityLogAnalyzerResultMessage *analyzerMessage; // @synthesize analyzerMessage=_analyzerMessage; 372 | @property(readonly) IDESourceCodeEditor *editor; // @synthesize editor=_editor; 373 | - (BOOL)shouldMoveCursorForAnnotation:(id)arg1; 374 | - (void)segmentedNavButtonAction:(id)arg1; 375 | - (void)showPreviousStep:(id)arg1; 376 | - (void)showNextStep:(id)arg1; 377 | - (void)cancelOperation:(id)arg1; 378 | - (void)_textWasEdited:(id)arg1; 379 | - (void)didPressDismissOnScopeBar:(id)arg1; 380 | - (void)willBeDismissedAnimate:(BOOL)arg1; 381 | - (void)_clearAnnotations; 382 | - (void)_updateUIElements; 383 | @property(readonly) BOOL canShowPreviousStep; 384 | @property(readonly) BOOL canShowNextStep; 385 | - (void)setCurrentStepIssue:(id)arg1; 386 | @property(readonly) double preferredViewHeight; 387 | - (void)viewDidInstall; 388 | - (void)awakeFromNib; 389 | - (id)initWithEditor:(id)arg1; 390 | - (id)initUsingDefaultNib; 391 | 392 | @end 393 | 394 | @interface IDEAnalyzerResultsStepNameTransformer : NSValueTransformer 395 | { 396 | } 397 | 398 | + (BOOL)allowsReverseTransformation; 399 | + (Class)transformedValueClass; 400 | - (id)transformedValue:(id)arg1; 401 | 402 | @end 403 | 404 | @interface IDEAnalyzerResultsVisualization : DVTTextVisualization 405 | { 406 | NSMapTable *_controlFlowPathsByStep; 407 | struct CGRect _cachedBounds; 408 | IDEAnalyzerResultsExplorer *_explorer; 409 | } 410 | 411 | @property(readonly) IDEAnalyzerResultsExplorer *explorer; // @synthesize explorer=_explorer; 412 | - (void)drawOverTextInRect:(struct CGRect)arg1; 413 | - (void)refresh; 414 | @property(readonly) NSArray *allControlFlowPaths; 415 | - (id)initWithExplorer:(id)arg1; 416 | 417 | @end 418 | 419 | @interface IDEApplication (IDESourceCodeDocumentScripting) 420 | - (id)sdefSupport_fileDocuments; 421 | - (id)sdefSupport_textDocuments; 422 | - (id)sdefSupport_sourceDocuments; 423 | @end 424 | 425 | @interface IDESingleFileProcessingContentProvider : DVTGeneratedContentProvider 426 | { 427 | id _completionBlock; 428 | id _generatedFilesObserver; 429 | id _pendingBuildNotificationToken; 430 | } 431 | 432 | + (id)generatedContentURLForFileURL:(id)arg1; 433 | + (BOOL)_canProcessURL:(id)arg1; 434 | + (id)_blacklistedUTISet; 435 | + (id)sourceFilePathForGeneratedContentURL:(id)arg1; 436 | + (int)buildOperationCommand; 437 | + (id)urlScheme; 438 | + (void)setSingleFileProcessingSchemeCommand:(int)arg1; 439 | + (int)singleFileProcessingSchemeCommand; 440 | + (void)initialize; 441 | - (void)generateContentForURL:(id)arg1 waitingBlock:(id)arg2 completionBlock:(void)arg3; 442 | - (void)_kickOffContentGenerationWithFilePath:(id)arg1 schemeCommand:(int)arg2; 443 | - (void)_observeGeneratedFileNotificationsForFilePath:(id)arg1; 444 | 445 | @end 446 | 447 | @interface IDEAssemblyContentProvider : IDESingleFileProcessingContentProvider 448 | { 449 | } 450 | 451 | + (int)buildOperationCommand; 452 | + (id)urlScheme; 453 | - (void)_kickOffContentGenerationWithFilePath:(id)arg1 schemeCommand:(int)arg2; 454 | 455 | @end 456 | 457 | @interface IDEAssemblyItemsDomainProvider : IDENavigableItemDomainProvider 458 | { 459 | } 460 | 461 | + (id)domainObjectForWorkspace:(id)arg1; 462 | 463 | @end 464 | 465 | @interface IDEBlameAnnotationAgeBarView : NSView 466 | { 467 | double _relativeAge; 468 | } 469 | 470 | @property double relativeAge; // @synthesize relativeAge=_relativeAge; 471 | - (void)drawRect:(struct CGRect)arg1; 472 | - (BOOL)isOpaque; 473 | 474 | @end 475 | 476 | @interface IDEBlameAnnotationBorderedView : DVTBorderedView 477 | { 478 | } 479 | 480 | - (void)viewWillMoveToWindow:(id)arg1; 481 | 482 | @end 483 | 484 | @interface IDEBlameAnnotationViewController : DVTViewController 485 | { 486 | IDEBlameAnnotationBorderedView *_borderedView; 487 | NSView *_primaryView; 488 | NSTextField *_messageTextField; 489 | NSTextField *_revisionTextField; 490 | NSTextField *_dateTextField; 491 | IDEBlameAnnotationAgeBarView *_ageBar; 492 | NSButton *_actionButton; 493 | long long _fontSize; 494 | id _viewFrameObserver; 495 | double _relativeAge; 496 | NSNib *_nibUsedForLoading; 497 | IDESourceCodeBlameController *_blameController; 498 | id _editorTextViewBoundsChangedObserver; 499 | IDEBlameDetailPopUpController *_popUpWindowController; 500 | id _popUpWindowDidResignToken; 501 | id _blameShowInfoPanelObserver; 502 | id _blameHideInfoPanelObserver; 503 | NSPopUpButton *_detailPopUpButton; 504 | NSTextField *_committerTextField; 505 | } 506 | 507 | + (id)keyPathsForValuesAffectingDisplayLogItemMessage; 508 | + (id)annotationHighlightGradient; 509 | + (double)defaultWidth; 510 | + (id)_fontWithDefaultMessageFontSize; 511 | + (double)_defaultMessageFontSize; 512 | + (id)defaultViewNibName; 513 | @property(retain) IDESourceCodeBlameController *blameController; // @synthesize blameController=_blameController; 514 | @property long long fontSize; // @synthesize fontSize=_fontSize; 515 | @property(retain) IDEBlameAnnotationAgeBarView *ageBar; // @synthesize ageBar=_ageBar; 516 | @property(retain) NSTextField *revisionTextField; // @synthesize revisionTextField=_revisionTextField; 517 | @property(retain) NSButton *actionButton; // @synthesize actionButton=_actionButton; 518 | @property(retain) NSTextField *messageTextField; // @synthesize messageTextField=_messageTextField; 519 | @property(retain) IDEBlameAnnotationBorderedView *borderedView; // @synthesize borderedView=_borderedView; 520 | @property(retain) NSView *primaryView; // @synthesize primaryView=_primaryView; 521 | - (void)_layoutView; 522 | - (void)goToDiff:(id)arg1; 523 | - (void)goToCompare:(id)arg1; 524 | - (void)goToRevision:(id)arg1; 525 | - (void)_cleanUpPopUpWindowClose:(BOOL)arg1; 526 | - (void)showBlameMenu:(id)arg1; 527 | - (void)showInfoPanel; 528 | - (void)compareToCurrentRevision; 529 | - (void)compareToPrevious; 530 | @property double relativeAge; // @synthesize relativeAge=_relativeAge; 531 | - (id)displayLogItemMessage; 532 | - (void)viewWillUninstall; 533 | - (void)viewDidInstall; 534 | - (void)loadView; 535 | 536 | @end 537 | 538 | @interface IDEBlameDetailPopUpController : DVTHUDPopUpController 539 | { 540 | } 541 | 542 | - (void)showWindowPointingAtLocation:(struct CGPoint)arg1 orientation:(unsigned long long)arg2; 543 | 544 | @end 545 | 546 | @interface IDEBlameDetailViewController : DVTHUDPopUpContentViewController 547 | { 548 | NSTextField *_commitDateField; 549 | NSTextField *_revisionField; 550 | NSImageView *_imageView; 551 | NSScrollView *_descriptionScrollView; 552 | NSTextView *_descriptionTextView; 553 | NSSegmentedControl *_nextPreviousControl; 554 | DVTBorderedView *_containerBorderedView; 555 | DVTBorderedView *_topBorderedView; 556 | IDESourceControlNameTokenView *_nameTokenView; 557 | IDESourceCodeBlameItem *_blameItem; 558 | IDEBlameAnnotationViewController *_annotationViewController; 559 | } 560 | 561 | @property(readonly) IDESourceCodeBlameItem *blameItem; // @synthesize blameItem=_blameItem; 562 | - (void)updateContent; 563 | - (void)viewDidInstall; 564 | - (void)loadView; 565 | - (id)displayDate; 566 | - (void)compareToPreviousRevision:(id)arg1; 567 | - (id)initWithBlameItem:(id)arg1 annotationViewController:(id)arg2; 568 | 569 | @end 570 | 571 | @interface IDEDiagnosticController : NSObject 572 | { 573 | IDESourceCodeDocument *_sourceCodeDocument; 574 | double _diagnosticsGenerationDelay; 575 | BOOL _hasScheduledDiagnosticsGeneration; 576 | BOOL _isDiagnosisEnabled; 577 | BOOL _needsDiagnosis; 578 | } 579 | 580 | + (id)diagnosticControllerLogAspect; 581 | @property(nonatomic) BOOL needsDiagnosis; // @synthesize needsDiagnosis=_needsDiagnosis; 582 | @property(nonatomic, getter=isDiagnosisEnabled) BOOL diagnosisEnabled; // @synthesize diagnosisEnabled=_isDiagnosisEnabled; 583 | @property BOOL hasScheduledDiagnosticsGeneration; // @synthesize hasScheduledDiagnosticsGeneration=_hasScheduledDiagnosticsGeneration; 584 | @property double diagnosticsGenerationDelay; // @synthesize diagnosticsGenerationDelay=_diagnosticsGenerationDelay; 585 | @property(readonly) IDESourceCodeDocument *sourceCodeDocument; // @synthesize sourceCodeDocument=_sourceCodeDocument; 586 | - (void)cancelDiagnosticsGeneration; 587 | - (void)scheduleDiagnosticsGeneration; 588 | - (void)scheduleDiagnosticsGenerationWithDelay:(double)arg1; 589 | - (void)diagnose; 590 | @property(readonly) NSMutableArray *mutableDiagnosticItems; 591 | @property(copy) NSArray *diagnosticItems; 592 | - (id)initWithSourceCodeDocument:(id)arg1; 593 | 594 | @end 595 | 596 | @interface IDEClangDiagnosticController : IDEDiagnosticController 597 | { 598 | NSMutableArray *_diagnosticItems; 599 | IDEDiagnosticGeneratorOperation *_diagnosticGeneratorOperation; 600 | long long _currentGeneratorOperationGeneration; 601 | } 602 | 603 | + (id)_diagnosticsGeneratorQueue; 604 | + (void)initialize; 605 | - (void)diagnose; 606 | - (void)_generateDiagnosticsForDocumentLocation:(id)arg1 context:(id)arg2 completionBlock:(id)arg3; 607 | - (void)cancelDiagnosticsGeneration; 608 | - (void)scheduleDiagnosticsGeneration; 609 | - (void)scheduleDiagnosticsGenerationWithDelay:(double)arg1; 610 | - (id)initWithSourceCodeDocument:(id)arg1; 611 | 612 | @end 613 | 614 | @interface IDEDiagnosticActivityLogMessage (IDEDiagnosticFixItControllerExtensions) 615 | - (BOOL)canCoalesceWithIssue:(id)arg1 inTextStorage:(id)arg2 checkURL:(BOOL)arg3; 616 | - (BOOL)canCoalesceWithDiagnosticItem:(id)arg1 inTextStorage:(id)arg2 checkURL:(BOOL)arg3; 617 | - (BOOL)updateFixItInfoWithTextStorage:(id)arg1; 618 | - (void)setLocationHasBeenUpdated:(BOOL)arg1; 619 | - (BOOL)locationHasBeenUpdated; 620 | @property(readonly) unsigned long long activityLogSeverity; 621 | @property(readonly) struct _NSRange fixItReplacementRange; 622 | - (void)setFixItReplacementRange:(struct _NSRange)arg1; 623 | @property(readonly) NSString *fixItString; 624 | - (void)setFixItString:(id)arg1; 625 | @property(readonly) NSString *fixItTitle; 626 | - (void)setFixItTitle:(id)arg1; 627 | @property(readonly) NSImage *fixItIconImage; 628 | @property(readonly) NSString *fixItType; 629 | @property(readonly) NSImage *iconImage; 630 | @end 631 | 632 | @interface IDEDiagnosticAnnotation : IDEBuildIssueAnnotation 633 | { 634 | IDEDiagnosticActivityLogMessage *_diagnosticItem; 635 | } 636 | 637 | + (id)sidebarFixItIcon; 638 | + (unsigned long long)severity; 639 | + (double)precedence; 640 | @property(retain, nonatomic) IDEDiagnosticActivityLogMessage *diagnosticItem; // @synthesize diagnosticItem=_diagnosticItem; 641 | - (id)annotationDisplayDescription; 642 | - (void)drawHighlightedRangesInRect:(struct CGRect)arg1 textView:(id)arg2; 643 | - (BOOL)drawsHighlightedRanges; 644 | - (void)resolveLocationIfNeededForTextStorage:(id)arg1; 645 | - (id)initWithDiagnosticItem:(id)arg1; 646 | 647 | @end 648 | 649 | @interface IDEDiagnosticAnnotationProvider : DVTAnnotationProvider 650 | { 651 | IDEAnnotationContext *_context; 652 | id _diagnosticsObservingToken; 653 | id _editorLiveIssuesPrefObserver; 654 | id _issueObservingToken; 655 | id _issueCoalescingObserver; 656 | id _workspaceLiveSourceIssuesEnabledObserver; 657 | id _buildOperationToken; 658 | IDEBuildOperation *_buildOperation; 659 | DVTHUDPopUpController *_hudPopUpController; 660 | id _hudPopUpControllerCloseToken; 661 | id _hudPopUpControllerResignKeyToken; 662 | BOOL _applyingFixItItems; 663 | BOOL _wasAutoCompletionEnabled; 664 | BOOL _liveSourceIssuesEnabled; 665 | BOOL _diagnosticIssuesProvided; 666 | } 667 | 668 | + (id)annotationProviderForContext:(id)arg1 error:(id *)arg2; 669 | @property(retain) DVTHUDPopUpController *hudPopUpController; // @synthesize hudPopUpController=_hudPopUpController; 670 | @property(retain) IDEAnnotationContext *context; // @synthesize context=_context; 671 | - (void)didDeleteOrReplaceParagraphForAnnotation:(id)arg1; 672 | - (void)_revealInIssueNavigator:(id)arg1; 673 | - (id)contextMenuItemsForAnnotation:(id)arg1 inTextSidebarView:(id)arg2; 674 | - (void)didClickMessageBubbleForAnnotation:(id)arg1 onIcon:(BOOL)arg2 inTextView:(id)arg3 event:(id)arg4; 675 | - (double)sidebarMarkerOpacityForAnnotation:(id)arg1; 676 | - (BOOL)shouldMoveCursorForAnnotation:(id)arg1; 677 | - (void)didClickAnnotation:(id)arg1 inTextSidebarView:(id)arg2 event:(id)arg3; 678 | - (void)applyFixItItemsForDiagnosticAnnotation:(id)arg1 inTextView:(id)arg2 animate:(BOOL)arg3; 679 | - (void)showFixItForDiagnosticMessage:(id)arg1 diagnosticAnnotation:(id)arg2 inTextView:(id)arg3; 680 | - (void)applyFixItItemsForFixableDiagnosticItems:(id)arg1 diagnosticAnnotation:(id)arg2 inTextView:(id)arg3 animate:(BOOL)arg4; 681 | - (void)_applyFixItItemsForFixableDiagnosticItems:(id)arg1 diagnosticAnnotation:(id)arg2 inTextView:(id)arg3 animate:(BOOL)arg4 updateFixItInfo:(BOOL)arg5; 682 | - (void)hideFixItHints; 683 | - (void)providerWillUninstall; 684 | - (id)initWithContext:(id)arg1; 685 | - (void)_liveIssuesPrefsChanged; 686 | - (void)_startObservingIssuesWithURL:(id)arg1; 687 | - (void)_startObservingDiagnosticItemsWithSourceDocument:(id)arg1; 688 | - (void)_rebuildAnnotations; 689 | - (void)_addAnnotation:(id)arg1 toLineRangeMap:(id)arg2; 690 | 691 | @end 692 | 693 | @interface IDEDiagnosticErrorAnnotation : IDEDiagnosticAnnotation 694 | { 695 | } 696 | 697 | + (BOOL)scrollbarMarkerHighlight; 698 | + (BOOL)wantsScrollbarMarker; 699 | + (id)editedTheme; 700 | + (id)focusedTheme; 701 | + (id)normalTheme; 702 | + (id)sidebarFixItIcon; 703 | + (id)sidebarIcon; 704 | + (unsigned long long)severity; 705 | - (id)annotationDisplayName; 706 | 707 | @end 708 | 709 | @interface IDEDiagnosticFixItController : DVTHUDPopUpContentViewController 710 | { 711 | NSString *_previewString; 712 | struct _NSRange _previewRange; 713 | IDESourceCodeDocument *_sourceCodeDocument; 714 | DVTSourceTextView *_textView; 715 | IDEDiagnosticActivityLogMessage *_diagnosticItem; 716 | BOOL _userAcceptedSession; 717 | NSTextField *_typeTextField; 718 | NSImageView *_titleIconImageView; 719 | NSTextField *_titleTextField; 720 | DVTBorderedView *_titleBorderedView; 721 | NSTableView *_tableView; 722 | DVTBorderedView *_tableBorderedView; 723 | NSObjectController *_diagnosticItemController; 724 | NSArrayController *_fixableDiagnosticItemsController; 725 | } 726 | 727 | + (id)keyPathsForValuesAffectingDiagnosticItem; 728 | @property(retain, nonatomic) IDEDiagnosticActivityLogMessage *diagnosticItem; // @synthesize diagnosticItem=_diagnosticItem; 729 | @property BOOL userAcceptedSession; // @synthesize userAcceptedSession=_userAcceptedSession; 730 | @property(retain) DVTSourceTextView *textView; // @synthesize textView=_textView; 731 | @property(retain) IDESourceCodeDocument *sourceCodeDocument; // @synthesize sourceCodeDocument=_sourceCodeDocument; 732 | - (void)tableViewSelectionDidChange:(id)arg1; 733 | - (void)_tableViewDoubleClickAction:(id)arg1; 734 | - (void)close:(id)arg1; 735 | - (void)sizeToFit; 736 | - (void)viewDidInstall; 737 | - (void)_contentViewBoundsDidChange:(id)arg1; 738 | - (void)endInlinePreviewing; 739 | - (void)beginInlinePreviewing; 740 | - (void)loadView; 741 | @property(readonly) NSArray *selectedFixableDiagnosticItems; 742 | - (id)initWithNibName:(id)arg1 bundle:(id)arg2; 743 | 744 | @end 745 | 746 | @interface IDEDiagnosticFixItPopUpController : DVTHUDPopUpController 747 | { 748 | } 749 | 750 | - (void)addSubviews; 751 | 752 | @end 753 | 754 | @interface IDEDiagnosticGeneratorOperation : DVTOperation 755 | { 756 | NSArray *_diagnosticItems; 757 | long long _generation; 758 | } 759 | 760 | @property long long generation; // @synthesize generation=_generation; 761 | @property(copy) NSArray *diagnosticItems; // @synthesize diagnosticItems=_diagnosticItems; 762 | 763 | @end 764 | 765 | @interface IDEDiagnosticIssueProvider : IDEIssueProvider 766 | { 767 | NSMutableSet *openDocumentFilePaths; 768 | NSMapTable *openDocFilePathToDiagnosticObserverMap; 769 | NSMutableSet *_filePathsWithIssues; 770 | id _blueprintsObserver; 771 | id kvoEditorDocumentsToken; 772 | id _workspaceLiveSourceIssuesObserver; 773 | id _blueprintRemovedFileObserver; 774 | id _sourceFileObserver; 775 | NSNumber *_liveSourceIssuesEnabled; 776 | } 777 | 778 | + (int)providerType; 779 | + (Class)diagnosticControllerClassForLanguage:(id)arg1; 780 | + (BOOL)providesIssuesForFile:(id)arg1 inWorkspace:(id)arg2; 781 | + (id)_diagnosticIssueProviderLogAspect; 782 | - (id)displayNameForIssueTypeIdentifier:(id)arg1; 783 | - (void)_updateOpenDocuments; 784 | - (void)_stopObservingDiagnosticItemsWithFilePath:(id)arg1 removeIssues:(BOOL)arg2; 785 | - (void)_startObservingDiagnosticItemsWithSourceDocument:(id)arg1; 786 | - (void)_rebuildIssuesForFilePath:(id)arg1 withDiagnosticItems:(id)arg2 sourceDocument:(id)arg3; 787 | - (void)invalidate; 788 | - (id)initWithIssueManager:(id)arg1 extension:(id)arg2; 789 | - (void)_updatedLiveIssuePrefs; 790 | - (void)_setIssues:(id)arg1 forFilePath:(id)arg2; 791 | 792 | @end 793 | 794 | @interface IDEDiagnosticWarningAnnotation : IDEDiagnosticAnnotation 795 | { 796 | } 797 | 798 | + (BOOL)scrollbarMarkerHighlight; 799 | + (BOOL)wantsScrollbarMarker; 800 | + (id)editedTheme; 801 | + (id)focusedTheme; 802 | + (id)normalTheme; 803 | + (id)sidebarFixItIcon; 804 | + (id)sidebarIcon; 805 | + (unsigned long long)severity; 806 | - (id)annotationDisplayName; 807 | 808 | @end 809 | 810 | @interface IDEGeneratedContentStatusContext : NSObject 811 | { 812 | int _status; 813 | NSString *_waitingMessage; 814 | NSURL *_url; 815 | id _annotationRepresentedObjectToNavigateTo; 816 | NSError *_error; 817 | } 818 | 819 | @property(readonly) NSError *error; // @synthesize error=_error; 820 | @property(readonly) id annotationRepresentedObjectToNavigateTo; // @synthesize annotationRepresentedObjectToNavigateTo=_annotationRepresentedObjectToNavigateTo; 821 | @property(readonly) NSURL *url; // @synthesize url=_url; 822 | @property(readonly) NSString *waitingMessage; // @synthesize waitingMessage=_waitingMessage; 823 | @property(readonly) int status; // @synthesize status=_status; 824 | - (id)_initWithStatus:(int)arg1 waitingMessage:(id)arg2 URL:(id)arg3 annotationRepresentedObjectToNavigateTo:(id)arg4 error:(id)arg5; 825 | 826 | @end 827 | 828 | @interface IDENoteAnnotationExplorer : NSObject 829 | { 830 | IDESourceCodeEditor *_editor; 831 | id _exploreItem; 832 | NSMutableArray *_noteAnnotations; 833 | long long _currentNoteIndex; 834 | NSArray *_noteItems; 835 | } 836 | 837 | @property(readonly) NSArray *noteItems; // @synthesize noteItems=_noteItems; 838 | @property(nonatomic) long long currentNoteIndex; // @synthesize currentNoteIndex=_currentNoteIndex; 839 | @property(retain, nonatomic) id exploreItem; // @synthesize exploreItem=_exploreItem; 840 | @property(readonly) IDESourceCodeEditor *editor; // @synthesize editor=_editor; 841 | - (BOOL)shouldMoveCursorForAnnotation:(id)arg1; 842 | - (void)willBeDismissed; 843 | - (void)setCurrentNoteItem:(id)arg1; 844 | - (void)_clearAnnotations; 845 | - (id)initWithEditor:(id)arg1; 846 | 847 | @end 848 | 849 | @interface IDEPreprocessItemsDomainProvider : IDENavigableItemDomainProvider 850 | { 851 | } 852 | 853 | + (id)domainObjectForWorkspace:(id)arg1; 854 | 855 | @end 856 | 857 | @interface IDEPreprocessedContentProvider : IDESingleFileProcessingContentProvider 858 | { 859 | } 860 | 861 | + (int)buildOperationCommand; 862 | + (id)urlScheme; 863 | - (void)_kickOffContentGenerationWithFilePath:(id)arg1 schemeCommand:(int)arg2; 864 | 865 | @end 866 | 867 | @interface IDEProcessedFileAttributes : NSObject 868 | { 869 | int _command; 870 | DVTFilePath *_inputFilePath; 871 | DVTFilePath *_outputFilePath; 872 | NSString *_architecture; 873 | NSString *_configuration; 874 | NSString *_projectName; 875 | NSString *_targetName; 876 | NSDate *_timestamp; 877 | } 878 | 879 | @property(readonly) NSDate *timestamp; // @synthesize timestamp=_timestamp; 880 | @property(readonly) NSString *targetName; // @synthesize targetName=_targetName; 881 | @property(readonly) NSString *projectName; // @synthesize projectName=_projectName; 882 | @property(readonly) NSString *configuration; // @synthesize configuration=_configuration; 883 | @property(readonly) NSString *architecture; // @synthesize architecture=_architecture; 884 | @property(readonly) DVTFilePath *outputFilePath; // @synthesize outputFilePath=_outputFilePath; 885 | @property(readonly) DVTFilePath *inputFilePath; // @synthesize inputFilePath=_inputFilePath; 886 | @property(readonly) int command; // @synthesize command=_command; 887 | - (id)headerCommentRepresentation; 888 | - (id)_dateFormatter; 889 | - (id)initWithPreprocessedFilePath:(id)arg1; 890 | - (id)initWithBuildOperationCommand:(int)arg1 inputFilePath:(id)arg2 outputFilePath:(id)arg3 architecture:(id)arg4 configuration:(id)arg5 projectName:(id)arg6 targetName:(id)arg7 timestamp:(id)arg8; 891 | 892 | @end 893 | 894 | @interface IDESingleFileProcessingGeniusResultsFinder : IDEGeniusResultsFinder 895 | { 896 | } 897 | 898 | - (void)_updateGeniusResults; 899 | 900 | @end 901 | 902 | @interface IDESingleFileProcessingItem : NSObject 903 | { 904 | NSString *_name; 905 | DVTDocumentLocation *_location; 906 | DVTFileDataType *_type; 907 | NSURL *_fileURL; 908 | } 909 | 910 | @property(readonly) DVTFileDataType *type; // @synthesize type=_type; 911 | @property(readonly) DVTDocumentLocation *documentLocation; // @synthesize documentLocation=_location; 912 | @property(readonly) NSURL *originalFileURL; // @synthesize originalFileURL=_fileURL; 913 | - (id)geniusResult_identifierForManualCategory; 914 | - (id)geniusResult_identifierForGeniusCategory; 915 | - (id)navigableItem_contentDocumentLocation; 916 | - (id)navigableItem_documentType; 917 | - (id)navigableItem_image; 918 | - (id)navigableItem_name; 919 | - (id)initWithName:(id)arg1 originalFileURL:(id)arg2 generatedContentLocation:(id)arg3 type:(id)arg4; 920 | 921 | @end 922 | 923 | @interface IDESingleFileProcessingItemGroup : NSObject 924 | { 925 | NSMutableArray *_singleFileProcessingItems; 926 | NSMapTable *_workspaceToItemMapTable; 927 | NSMapTable *_workspaceToInvalidationObserverTable; 928 | DVTFileDataType *_type; 929 | NSString *_name; 930 | Class _contentProviderClass; 931 | } 932 | 933 | + (id)sharedAssemblyItemGroup; 934 | + (id)sharedPreprocessItemGroup; 935 | + (void)initialize; 936 | - (id)initWithName:(id)arg1 type:(id)arg2; 937 | - (id)itemForFileURL:(id)arg1 inWorkspace:(id)arg2; 938 | 939 | // Remaining properties 940 | @property(readonly) NSMutableArray *mutableSingleFileProcessingItems; // @dynamic mutableSingleFileProcessingItems; 941 | @property(copy) NSArray *singleFileProcessingItems; // @dynamic singleFileProcessingItems; 942 | 943 | @end 944 | 945 | @interface IDESingleFileProcessingToolbarController : IDEViewController 946 | { 947 | DVTBorderedView *_borderedView; 948 | NSPopUpButton *_actionPopUpButton; 949 | NSTextField *_actionLabel; 950 | NSButton *_refreshButton; 951 | IDESourceCodeEditor *_editor; 952 | BOOL _canRefresh; 953 | id _currentBuildOperationObservingToken; 954 | IDEProcessedFileAttributes *_attributes; 955 | } 956 | 957 | + (id)keyPathsForValuesAffectingActionLabel; 958 | + (id)defaultViewNibName; 959 | @property(retain, nonatomic) IDEProcessedFileAttributes *attributes; // @synthesize attributes=_attributes; 960 | @property BOOL canRefresh; // @synthesize canRefresh=_canRefresh; 961 | @property(readonly) IDESourceCodeEditor *editor; // @synthesize editor=_editor; 962 | - (void)_updateActionPopUp; 963 | - (BOOL)_showingAssembly; 964 | @property(readonly) NSString *actionLabel; 965 | - (void)selectedSchemeAction:(id)arg1; 966 | - (void)refresh:(id)arg1; 967 | - (void)viewDidInstall; 968 | - (void)loadView; 969 | - (void)invalidate; 970 | - (id)initWithEditor:(id)arg1 processedFileAttributes:(id)arg2; 971 | 972 | @end 973 | 974 | @interface IDESourceCodeAdjustNodeTypesRequest : NSObject 975 | { 976 | IDESourceCodeDocument *_document; 977 | IDESourceCodeEditor *_editor; 978 | IDEIndex *_workspaceIndex; 979 | id _completionBlock; 980 | struct _NSRange _dirtyCharacterRange; 981 | id _completionObserver; 982 | double _lastRescheduleTimestamp; 983 | DVTPerformanceMetric *_perfMetric; 984 | DVTStackBacktrace *_invalidationBacktrace; 985 | BOOL _isInvalidated; 986 | BOOL _started; 987 | BOOL _triggeredByEditing; 988 | } 989 | 990 | + (id)_indexQueriesOperationQueue; 991 | + (void)initialize; 992 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; // @synthesize invalidationBacktrace=_invalidationBacktrace; 993 | @property(readonly) struct _NSRange dirtyCharacterRange; // @synthesize dirtyCharacterRange=_dirtyCharacterRange; 994 | @property BOOL started; // @synthesize started=_started; 995 | @property(readonly) IDEIndex *workspaceIndex; // @synthesize workspaceIndex=_workspaceIndex; 996 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 997 | - (void)invalidate; 998 | - (void)_processFoundSymbolResults:(id)arg1; 999 | - (void)_batchProcessDirtyRange; 1000 | - (void)addSourceModelItem:(id)arg1; 1001 | - (id)initWithDocument:(id)arg1 editor:(id)arg2 workspaceIndex:(id)arg3 completionBlock:(id)arg4; 1002 | - (id)description; 1003 | 1004 | @end 1005 | 1006 | @interface IDESourceCodeAdjustNodeTypesResult : NSObject 1007 | { 1008 | DVTDocumentLocation *_location; 1009 | NSString *_symbolName; 1010 | DVTSourceCodeSymbolKind *_symbolKind; 1011 | BOOL _isInProject; 1012 | } 1013 | 1014 | @property(readonly) BOOL isInProject; // @synthesize isInProject=_isInProject; 1015 | @property(readonly) DVTSourceCodeSymbolKind *symbolKind; // @synthesize symbolKind=_symbolKind; 1016 | @property(readonly) NSString *symbolName; // @synthesize symbolName=_symbolName; 1017 | @property(readonly) DVTDocumentLocation *location; // @synthesize location=_location; 1018 | - (id)initWithLocation:(id)arg1 symbolName:(id)arg2 symbolKind:(id)arg3 isInProject:(BOOL)arg4; 1019 | 1020 | @end 1021 | 1022 | @interface IDESourceCodeBlameAccessoryViewAnnotation : DVTAccessoryViewAnnotation 1023 | { 1024 | IDESourceCodeBlameItem *_blameItem; 1025 | } 1026 | 1027 | @property(retain) IDESourceCodeBlameItem *blameItem; // @synthesize blameItem=_blameItem; 1028 | 1029 | @end 1030 | 1031 | @interface IDESourceCodeBlameAnnotationContext : IDEAnnotationContext 1032 | { 1033 | IDESourceCodeBlameController *_blameController; 1034 | } 1035 | 1036 | @property(readonly) IDESourceCodeBlameController *blameController; // @synthesize blameController=_blameController; 1037 | - (id)initWithEditor:(id)arg1 document:(id)arg2 fileDataType:(id)arg3 blameController:(id)arg4 workspaceTabController:(id)arg5; 1038 | 1039 | @end 1040 | 1041 | @interface IDESourceCodeBlameAnnotationProvider : DVTAnnotationProvider 1042 | { 1043 | IDESourceCodeBlameController *_blameController; 1044 | id _blameObserver; 1045 | id _blameInfoPanelDidShowObserver; 1046 | id _blameInfoPanelDidHideObserver; 1047 | NSString *_infoPanelRevision; 1048 | } 1049 | 1050 | + (id)annotationProviderForContext:(id)arg1 error:(id *)arg2; 1051 | - (id)_createAnnotationForItem:(id)arg1; 1052 | - (id)_annotationThemeWithHighlight:(BOOL)arg1; 1053 | - (void)_createAnnotations; 1054 | - (void)_updateThemeForInfoPanel; 1055 | - (id)initWithContext:(id)arg1; 1056 | 1057 | @end 1058 | 1059 | @interface IDESourceCodeBlameController : NSObject 1060 | { 1061 | IDESourceControlDocumentLocation *_sourceDocLocation; 1062 | IDEWorkspace *_workspace; 1063 | IDEEditorDocument *_editorDocument; 1064 | NSString *_revision; 1065 | NSArray *_blameItems; 1066 | IDESourceControlWorkingTreeItem *_workingTreeItem; 1067 | double _oldestTime; 1068 | double _newestTime; 1069 | id _blameRequest; 1070 | id _logRequest; 1071 | DVTMapTable *_revisionToItem; 1072 | id _delegate; 1073 | NSString *_specificUnavailabilityDescription; 1074 | NSString *_genericUnavailabilityDescription; 1075 | id _localStatusUpdateToken; 1076 | id _sourceControlLocalStatusToken; 1077 | BOOL _loading; 1078 | BOOL _isBlameAvailableForRevision; 1079 | BOOL _blameItemsAreValid; 1080 | BOOL _editorTextViewBoundsChanged; 1081 | } 1082 | 1083 | @property BOOL editorTextViewBoundsChanged; // @synthesize editorTextViewBoundsChanged=_editorTextViewBoundsChanged; 1084 | @property(readonly) NSString *genericUnavailabilityDescription; // @synthesize genericUnavailabilityDescription=_genericUnavailabilityDescription; 1085 | @property(readonly) NSString *specificUnavailabilityDescription; // @synthesize specificUnavailabilityDescription=_specificUnavailabilityDescription; 1086 | @property BOOL isBlameAvailableForRevision; // @synthesize isBlameAvailableForRevision=_isBlameAvailableForRevision; 1087 | @property(retain) id delegate; // @synthesize delegate=_delegate; 1088 | @property(readonly) double newestTime; // @synthesize newestTime=_newestTime; 1089 | @property(readonly) double oldestTime; // @synthesize oldestTime=_oldestTime; 1090 | @property BOOL loading; // @synthesize loading=_loading; 1091 | @property(retain) NSArray *blameItems; // @synthesize blameItems=_blameItems; 1092 | @property(readonly) NSString *revision; // @synthesize revision=_revision; 1093 | @property(readonly) IDEEditorDocument *editorDocument; // @synthesize editorDocument=_editorDocument; 1094 | @property(readonly) IDEWorkspace *workspace; // @synthesize workspace=_workspace; 1095 | @property(retain, nonatomic) IDESourceControlDocumentLocation *sourceDocLocation; // @synthesize sourceDocLocation=_sourceDocLocation; 1096 | - (void)_loadCommitMessages; 1097 | - (void)_retrieveBlameEntries; 1098 | - (void)removeFromComparisonEditor; 1099 | - (void)_registerWorkingTreeItemObservations; 1100 | @property(readonly) IDESourceControlWorkingTreeItem *workingTreeItem; // @synthesize workingTreeItem=_workingTreeItem; 1101 | - (void)updateSourceDocLocation:(id)arg1 documentHasUnsavedChanges:(BOOL)arg2; 1102 | - (id)initWithSourceControlLocation:(id)arg1 workspace:(id)arg2 editorDocument:(id)arg3; 1103 | 1104 | @end 1105 | 1106 | @interface IDESourceCodeBlameItem : NSObject 1107 | { 1108 | IDESourceControlLogItem *_logItem; 1109 | DVTTextDocumentLocation *_paragraphLocation; 1110 | } 1111 | 1112 | @property(readonly) IDESourceControlLogItem *logItem; // @synthesize logItem=_logItem; 1113 | @property(readonly) DVTTextDocumentLocation *paragraphLocation; // @synthesize paragraphLocation=_paragraphLocation; 1114 | - (id)initWithParagraphLocation:(id)arg1 logItem:(id)arg2; 1115 | 1116 | @end 1117 | 1118 | @interface IDESourceCodeComparisonDebuggingController : NSObject 1119 | { 1120 | } 1121 | 1122 | + (id)handlerForAction:(SEL)arg1 withSelectionSource:(id)arg2; 1123 | - (void)switchDiffingAlgorithm:(id)arg1; 1124 | - (BOOL)validateUserInterfaceItem:(id)arg1; 1125 | 1126 | @end 1127 | 1128 | @interface IDESourceCodeComparisonEditor : IDEComparisonEditor 1129 | { 1130 | NSDictionary *_previouslyRestoredStateDictionary; 1131 | } 1132 | 1133 | + (long long)version; 1134 | + (void)configureStateSavingObjectPersistenceByName:(id)arg1; 1135 | + (id)keyPathsForValuesAffectingKeyTextView; 1136 | - (void)find:(id)arg1; 1137 | - (id)startingLocationForFindBar:(id)arg1 findingBackwards:(BOOL)arg2; 1138 | - (void)dvtFindBar:(id)arg1 didUpdateCurrentResult:(id)arg2; 1139 | - (void)dvtFindBar:(id)arg1 didUpdateResults:(id)arg2; 1140 | - (void)revertStateWithDictionary:(id)arg1; 1141 | - (void)restoreInternalComparisonDocumentLocationWithStateDictionary:(id)arg1; 1142 | - (void)commitStateToDictionary:(id)arg1; 1143 | - (void)setEditorSubmode:(int)arg1; 1144 | @property(readonly) DVTSourceTextView *keyTextView; 1145 | - (void)_updateViewBasedOnSubmode; 1146 | - (struct CGRect)overlayFrameForView:(id)arg1; 1147 | - (BOOL)pathCell:(id)arg1 shouldSeparateDisplayOfChildItemsForItem:(id)arg2; 1148 | 1149 | @end 1150 | 1151 | @interface IDESourceCodeDocument : IDEEditorDocument 1152 | { 1153 | DVTSourceTextStorage *_textStorage; 1154 | DVTSourceCodeLanguage *_language; 1155 | IDEDiagnosticController *_diagnosticController; 1156 | NSArray *_sourceLandmarks; 1157 | NSMutableSet *_pendingAdjustNodeTypeRequests; 1158 | IDESourceCodeAdjustNodeTypesRequest *_lastAdjustNodeTypesRequest; 1159 | struct _NSRange _prefetchedNodeTypesLineRange; 1160 | DVTGeneratedContentProvider *_generatedContentProvider; 1161 | IDEGeneratedContentStatusContext *_generatedContentStatusContext; 1162 | BOOL _generatesContent; 1163 | id _generatedContentProviderDisplayNameObserver; 1164 | unsigned long long _lineEndings; 1165 | unsigned long long _textEncoding; 1166 | NSMutableArray *_printContextInfo; 1167 | BOOL _usesLanguageFromFileDataType; 1168 | BOOL _languageSupportsSymbolColoring; 1169 | BOOL _setUpPrintInfoDefaults; 1170 | BOOL _isUnicodeWithBOM; 1171 | BOOL _isUnicodeBE; 1172 | } 1173 | 1174 | + (id)syntaxColoringPrefetchLogAspect; 1175 | + (id)topLevelStructureLogAspect; 1176 | + (void)initialize; 1177 | @property(retain) IDEGeneratedContentStatusContext *generatedContentStatusContext; // @synthesize generatedContentStatusContext=_generatedContentStatusContext; 1178 | @property BOOL generatesContent; // @synthesize generatesContent=_generatesContent; 1179 | @property(readonly) struct _NSRange prefetchedNodeTypesLineRange; // @synthesize prefetchedNodeTypesLineRange=_prefetchedNodeTypesLineRange; 1180 | @property(nonatomic) unsigned long long lineEndings; // @synthesize lineEndings=_lineEndings; 1181 | @property unsigned long long textEncoding; // @synthesize textEncoding=_textEncoding; 1182 | @property(nonatomic) BOOL usesLanguageFromFileDataType; // @synthesize usesLanguageFromFileDataType=_usesLanguageFromFileDataType; 1183 | @property(retain, nonatomic) DVTSourceCodeLanguage *language; // @synthesize language=_language; 1184 | @property(readonly) DVTSourceTextStorage *textStorage; // @synthesize textStorage=_textStorage; 1185 | - (id)sourceCodeGenerator:(id)arg1 commitInsertionOfSourceCodeForCompositeResult:(id)arg2 error:(id *)arg3; 1186 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCAtSynthesizeWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 1187 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCPropertyDeclarationWithName:(id)arg2 type:(id)arg3 inClassNamed:(id)arg4 options:(id)arg5 error:(id *)arg6; 1188 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCPropertyReleaseForTeardownWithName:(id)arg2 type:(id)arg3 inClassNamed:(id)arg4 options:(id)arg5 error:(id *)arg6; 1189 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCInstanceVariableReleaseForTeardownWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 1190 | - (id)_primitiveAddObjectiveCReleaseForTeardownMethodWithSourceCodeGenerator:(id)arg1 withReleaseCallCode:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 1191 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCInstanceVariableDeclarationWithName:(id)arg2 type:(id)arg3 inClassNamed:(id)arg4 options:(id)arg5 error:(id *)arg6; 1192 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCClassMethodDefinitionWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 1193 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCClassMethodDeclarationWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 1194 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCInstanceMethodDefinitionWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 1195 | - (id)_primitiveAppendObjectiveCSourceCode:(id)arg1 afterItem:(id)arg2 prependNewLine:(BOOL)arg3; 1196 | - (id)sourceCodeGenerator:(id)arg1 prepareToAddObjectiveCInstanceMethodDeclarationWithName:(id)arg2 inClassNamed:(id)arg3 options:(id)arg4 error:(id *)arg5; 1197 | - (id)_primitiveAddObjectiveCMethodSourceCode:(id)arg1 toClassItem:(id)arg2 withOptions:(id)arg3 error:(id *)arg4; 1198 | - (id)_primitiveAddObjectiveCSourceCode:(id)arg1 toClassItem:(id)arg2 withOptions:(id)arg3 insertAdditionalNewlineWhenInsertingWithAfterBeforeHint:(BOOL)arg4 insertAtEndWhenInsertingWithoutHint:(BOOL)arg5 insertAfterObjCBlockWhenInsertingAtBeginning:(BOOL)arg6 ignoreHintItemsConformingToSpecifications:(id)arg7 onlyConsiderItemsConformingToSpecifications:(id)arg8 error:(id *)arg9; 1199 | - (id)_insertObjectiveCSourceCode:(id)arg1 inTeardownMethodForClassNamed:(id)arg2 options:(id)arg3 error:(id *)arg4; 1200 | - (id)_teardownMethodNameForSourceCodeGeneratorWithOptions:(id)arg1; 1201 | - (BOOL)_hasObjCMethodImplementationForName:(id)arg1 forClassNamed:(id)arg2; 1202 | - (id)_objCMethodImplementationItemForName:(id)arg1 inClassItem:(id)arg2; 1203 | - (id)_insertObjCSourceCode:(id)arg1 inTopLevelOfClassItem:(id)arg2 withInsertAfterHint:(id)arg3 andInsertBeforeHint:(id)arg4 ignoreHintItemsConformingToSpecifications:(id)arg5 onlyConsiderItemsConformingToSpecifications:(id)arg6 insertAdditionalNewline:(BOOL)arg7 insertAtEndWhenInsertingWithoutHint:(BOOL)arg8 insertAfterObjCBlockWhenInsertingAtBeginning:(BOOL)arg9; 1204 | - (id)_insertObjCSourceCode:(id)arg1 inContainingSourceModelItem:(id)arg2 withInsertAfterHint:(id)arg3 andInsertBeforeHint:(id)arg4 ignoreHintItemsConformingToSpecifications:(id)arg5 onlyConsiderItemsConformingToSpecifications:(id)arg6 insertAdditionalNewline:(BOOL)arg7 fallbackInsertionBlock:(id)arg8; 1205 | - (long long)_insertionHintMatchPriorityForObjCSourceModelItem:(id)arg1 givenInsertionHintItemName:(id)arg2 andLanguageSpecification:(id)arg3 ignoreItemsConformingToSpecifications:(id)arg4 onlyConsiderItemsConformingToSpecifications:(id)arg5; 1206 | - (id)_insertObjCSourceCode:(id)arg1 inTopLevelOfClassItem:(id)arg2 asCloseAsPossibleToLineNumber:(unsigned long long)arg3 error:(id *)arg4; 1207 | - (id)_insertObjCSourceCode:(id)arg1 inContainingSourceModelItem:(id)arg2 asCloseAsPossibleToLineNumber:(unsigned long long)arg3 firstPossibleItemToInsertBefore:(id)arg4 error:(id *)arg5; 1208 | - (id)_insertionHintForObjCSourceModelItem:(id)arg1; 1209 | - (id)_firstObjCSourceModelItemToInsertBeforeInInstanceVariableBlock:(id)arg1; 1210 | - (id)_firstTopLevelObjCInterfaceSourceModelItemToInsertBeforeInClassItem:(id)arg1; 1211 | - (id)_insertSourceCode:(id)arg1 atBeginningOfClassSourceModelItem:(id)arg2 insertOnNextLine:(BOOL)arg3 insertAfterObjCBlock:(BOOL)arg4; 1212 | - (id)_insertSourceCode:(id)arg1 atEndOfClassSourceModelItem:(id)arg2 insertOnNextLine:(BOOL)arg3; 1213 | - (id)_insertSourceCode:(id)arg1 atEndOfContainingSourceModelItem:(id)arg2 insertOnNextLine:(BOOL)arg3 beforeItemMatchingPredicateBlock:(id)arg4; 1214 | - (id)_insertSourceCode:(id)arg1 atBeginningOfContainingSourceModelItem:(id)arg2 insertOnNextLine:(BOOL)arg3 afterItemMatchingPredicateBlock:(id)arg4; 1215 | - (id)_primitiveInsertSourceCode:(id)arg1 atBeginning:(BOOL)arg2 ofContainingSourceModelItem:(id)arg3 insertOnNextLine:(BOOL)arg4 afterOrBeforeItemMatchingPredicateBlock:(id)arg5; 1216 | - (id)_textDocumentLocationForInsertingSourceCode:(id)arg1 atLocation:(unsigned long long)arg2; 1217 | - (id)_instanceVariableDeclarationBlockItemForClassItem:(id)arg1; 1218 | - (id)_objCCategoryImplementationClassModelItemForClassNamed:(id)arg1 categoryName:(id)arg2 error:(id *)arg3; 1219 | - (id)_objCCategoryInterfaceClassModelItemForClassNamed:(id)arg1 categoryName:(id)arg2 options:(id)arg3 error:(id *)arg4; 1220 | - (id)_objCImplementationClassModelItemForClassNamed:(id)arg1 error:(id *)arg2; 1221 | - (id)_objCInterfaceClassModelItemForClassNamed:(id)arg1 error:(id *)arg2; 1222 | - (id)_classModelItemForClassNamed:(id)arg1 withConditionBlock:(id)arg2; 1223 | - (id)_errorForNotFindingClassItemForClassNamed:(id)arg1 humanReadableClassItemType:(id)arg2; 1224 | - (id)supportedSourceCodeLanguagesForSourceCodeGeneration; 1225 | - (long long)defaultPropertyAccessControl; 1226 | - (id)emptyPrivateCopy; 1227 | - (id)privateCopy; 1228 | - (id)diffDataSource; 1229 | - (id)textViewWillReturnPrintJobTitle:(id)arg1; 1230 | - (id)printOperationWithSettings:(id)arg1 error:(id *)arg2; 1231 | - (BOOL)textStorageShouldAllowEditing:(id)arg1; 1232 | - (void)textStorageDidUpdateSourceLandmarks:(id)arg1; 1233 | - (void)textStorageDidProcessEditing:(id)arg1; 1234 | - (void)updateChangeCount:(unsigned long long)arg1; 1235 | - (BOOL)replaceTextWithContentsOfURL:(id)arg1 error:(id *)arg2; 1236 | - (BOOL)replaceFindResults:(id)arg1 withString:(id)arg2 withError:(id *)arg3; 1237 | - (id)findStringMatchingDescriptor:(id)arg1 backwards:(BOOL)arg2 from:(id)arg3 to:(id)arg4; 1238 | - (id)documentLocationFromCharacterRange:(struct _NSRange)arg1; 1239 | - (struct _NSRange)characterRangeFromDocumentLocation:(id)arg1; 1240 | - (id)updatedLocationFromLocation:(id)arg1 toTimestamp:(double)arg2; 1241 | - (void)_indexDidChange:(id)arg1; 1242 | - (void)prefetchNodeTypesExtraLines:(unsigned long long)arg1 upDirection:(BOOL)arg2 withContext:(id)arg3; 1243 | - (void)initialPrefetchNodeTypesForLineRange:(struct _NSRange)arg1 withContext:(id)arg2; 1244 | - (void)_prefetchNodeTypesForLineRange:(struct _NSRange)arg1 withContext:(id)arg2; 1245 | - (long long)nodeTypeForItem:(id)arg1 withContext:(id)arg2; 1246 | - (void)_adjustNodeTypeForIdentifierItem:(id)arg1 withContext:(id)arg2; 1247 | - (void)editorDocumentWillClose; 1248 | - (id)dataOfType:(id)arg1 error:(id *)arg2; 1249 | - (BOOL)writeToURL:(id)arg1 ofType:(id)arg2 error:(id *)arg3; 1250 | - (BOOL)readFromData:(id)arg1 ofType:(id)arg2 error:(id *)arg3; 1251 | - (BOOL)readFromURL:(id)arg1 ofType:(id)arg2 error:(id *)arg3; 1252 | - (void)_configureDocumentReadFromURL:(id)arg1 orData:(id)arg2 ofType:(id)arg3 usedEncoding:(unsigned long long)arg4 preferredLineEndings:(unsigned long long)arg5 readOutAttributes:(id)arg6; 1253 | - (id)_readOptionsDictionaryForURL:(id)arg1 preferredEncoding:(unsigned long long)arg2 inOutData:(id *)arg3; 1254 | - (unsigned long long)_lineEndingUsedInString:(id)arg1; 1255 | - (BOOL)canSaveAs; 1256 | - (BOOL)canSave; 1257 | @property(readonly) DVTPerformanceMetric *openingPerformanceMetric; 1258 | - (id)editedContents; 1259 | - (id)description; 1260 | @property(readonly) NSArray *knownFileReferences; 1261 | - (struct _NSRange)lineRangeOfSourceLandmark:(id)arg1; 1262 | - (id)sourceLandmarkItemAtLineNumber:(unsigned long long)arg1; 1263 | - (id)sourceLandmarkItemAtCharacterIndex:(unsigned long long)arg1; 1264 | @property(readonly) NSArray *ideTopLevelStructureObjects; 1265 | - (void)invalidateAndDisableDiagnosticController; 1266 | - (void)invalidateDiagnosticController; 1267 | @property(retain) IDEDiagnosticController *diagnosticController; // @synthesize diagnosticController=_diagnosticController; 1268 | - (id)printInfo; 1269 | - (void)setTextEncoding:(unsigned long long)arg1 convertContents:(BOOL)arg2; 1270 | @property(readonly) DVTFileDataType *fileDataType; 1271 | - (id)newUndoManager; 1272 | - (id)init; 1273 | - (void)setSdefSupport_text:(id)arg1; 1274 | - (id)sdefSupport_text; 1275 | - (void)setSdefSupport_selection:(id)arg1; 1276 | - (id)sdefSupport_selection; 1277 | - (void)setSdefSupport_selectedParagraphRange:(id)arg1; 1278 | - (id)sdefSupport_selectedParagraphRange; 1279 | - (void)setSdefSupport_selectedCharacterRange:(id)arg1; 1280 | - (id)sdefSupport_selectedCharacterRange; 1281 | - (void)setSdefSupport_notifiesWhenClosing:(BOOL)arg1; 1282 | - (BOOL)sdefSupport_notifiesWhenClosing; 1283 | - (void)setSdefSupport_contents:(id)arg1; 1284 | - (id)sdefSupport_contents; 1285 | - (void)setSdefSupport_editorSettings:(id)arg1; 1286 | - (id)sdefSupport_editorSettings; 1287 | - (id)objectSpecifier; 1288 | 1289 | // Remaining properties 1290 | @property unsigned long long supportedMatchingOptions; 1291 | 1292 | @end 1293 | 1294 | @interface IDESourceCodeEditor : IDEEditor 1295 | { 1296 | NSScrollView *_scrollView; 1297 | DVTSourceTextView *_textView; 1298 | IDESourceCodeEditorContainerView *_containerView; 1299 | DVTTextSidebarView *_sidebarView; 1300 | NSArray *_currentSelectedItems; 1301 | DVTHashTable *_selectedExpressionObservers; 1302 | DVTHashTable *_mouseOverExpressionObservers; 1303 | NSDictionary *_syntaxColoringContext; 1304 | DVTSourceExpression *_selectedExpression; 1305 | DVTSourceExpression *_mouseOverExpression; 1306 | IDESourceCodeNavigationRequest *_currentNavigationRequest; 1307 | IDESourceCodeHelpNavigationRequest *_helpNavigationRequest; 1308 | struct dispatch_queue_s *_symbolLookupQueue; 1309 | NSMutableArray *_stateChangeObservingTokens; 1310 | id _topLevelItemsObserverToken; 1311 | id _firstResponderObserverToken; 1312 | id _editorLiveIssuesEnabledObserverToken; 1313 | id _navigatorLiveIssuesEnabledObserverToken; 1314 | id _workspaceLiveSourceIssuesEnabledObserver; 1315 | id _needsDiagnosisObserverToken; 1316 | id _diagnosticItemsObserverToken; 1317 | NSOperationQueue *_diagnoseRelatedFilesQueue; 1318 | DVTOperation *_findRelatedFilesOperation; 1319 | id _sessionInProgressObserverToken; 1320 | id _blueprintDidChangeNotificationObservingToken; 1321 | id _buildOperationOutputFilesObserver; 1322 | id _textStorageDidProcessEndingObserver; 1323 | IDESourceCodeEditorAnnotationProvider *_annotationProvider; 1324 | IDEAnalyzerResultsExplorer *_analyzerResultsExplorer; 1325 | DVTScopeBarController *_analyzerResultsScopeBar; 1326 | IDENoteAnnotationExplorer *_noteAnnotationExplorer; 1327 | IDESingleFileProcessingToolbarController *_singleFileProcessingToolbarController; 1328 | NSView *_emptyView; 1329 | NSProgressIndicator *_contentGenerationProgressIndicator; 1330 | NSTimer *_contentGenerationProgressTimer; 1331 | NSOperationQueue *_tokenizeQueue; 1332 | DVTDispatchLock *_tokenizeAccessLock; 1333 | unsigned long long _tokenizeGeneration; 1334 | NSTrackingArea *_mouseTracking; 1335 | NSDictionary *_previouslyRestoredStateDictionary; 1336 | long long _previousLineNumber; 1337 | unsigned long long _lastFocusedAnnotationIndex; 1338 | struct _NSRange _lastEditedCharRange; 1339 | DVTTextDocumentLocation *_continueToHereDocumentLocation; 1340 | DVTTextDocumentLocation *_continueToLineDocumentLocation; 1341 | IDEViewController *_hostViewController; 1342 | struct { 1343 | unsigned int wantsDidScroll:1; 1344 | unsigned int wantsDidFinishAnimatingScroll:1; 1345 | unsigned int supportsContextMenuCustomization:1; 1346 | unsigned int supportsAnnotationContextCreation:1; 1347 | unsigned int wantsDidLoadAnnotationProviders:1; 1348 | unsigned int reserved:3; 1349 | } _hvcFlags; 1350 | BOOL _trackingMouse; 1351 | BOOL _initialSetupDone; 1352 | BOOL _nodeTypesPrefetchingStarted; 1353 | BOOL _isUninstalling; 1354 | } 1355 | 1356 | + (id)keyPathsForValuesAffectingIsWorkspaceBuilding; 1357 | + (void)revertStateWithDictionary:(id)arg1 withSourceTextView:(id)arg2 withEditorDocument:(id)arg3; 1358 | + (void)commitStateToDictionary:(id)arg1 withSourceTextView:(id)arg2; 1359 | + (long long)version; 1360 | + (void)configureStateSavingObjectPersistenceByName:(id)arg1; 1361 | @property(readonly) IDESingleFileProcessingToolbarController *singleFileProcessingToolbarController; // @synthesize singleFileProcessingToolbarController=_singleFileProcessingToolbarController; 1362 | @property __weak DVTScopeBarController *analyzerResultsScopeBar; // @synthesize analyzerResultsScopeBar=_analyzerResultsScopeBar; 1363 | @property(readonly) IDEAnalyzerResultsExplorer *analyzerResultsExplorer; // @synthesize analyzerResultsExplorer=_analyzerResultsExplorer; 1364 | @property(retain, nonatomic) DVTSourceExpression *mouseOverExpression; // @synthesize mouseOverExpression=_mouseOverExpression; 1365 | @property(retain, nonatomic) DVTSourceExpression *selectedExpression; // @synthesize selectedExpression=_selectedExpression; 1366 | @property(retain) IDESourceCodeEditorContainerView *containerView; // @synthesize containerView=_containerView; 1367 | @property(retain) DVTSourceTextView *textView; // @synthesize textView=_textView; 1368 | @property(retain) NSScrollView *scrollView; // @synthesize scrollView=_scrollView; 1369 | @property(readonly) NSString *openQuicklyInitialString; 1370 | - (BOOL)editorWantsAnnotationsFromProviderClass:(Class)arg1; 1371 | - (BOOL)editorDocumentIsCurrentRevision; 1372 | - (BOOL)editorIsHostedInComparisonEditor; 1373 | - (id)_documentLocationForLineNumber:(long long)arg1; 1374 | - (void)_createFileBreakpointAtLocation:(long long)arg1; 1375 | - (id)_breakpointManager; 1376 | - (long long)_currentOneBasedLineNubmer; 1377 | - (id)currentEditorContext; 1378 | - (id)documentLocationForOpenQuicklyQuery:(id)arg1; 1379 | - (void)openQuicklyScoped:(id)arg1; 1380 | - (void)debugLogJumpToDefinitionState:(id)arg1; 1381 | - (id)_jumpToDefinitionOfExpression:(id)arg1 fromScreenPoint:(struct CGPoint)arg2 clickCount:(long long)arg3 modifierFlags:(unsigned long long)arg4; 1382 | - (void)_cancelHelpNavigationRequest; 1383 | - (void)_cancelCurrentNavigationRequest; 1384 | - (void)contextMenu_revealInSymbolNavigator:(id)arg1; 1385 | - (void)jumpToSelection:(id)arg1; 1386 | - (void)jumpToDefinitionWithShiftPlusAlternate:(id)arg1; 1387 | - (void)jumpToDefinitionWithAlternate:(id)arg1; 1388 | - (void)jumpToDefinition:(id)arg1; 1389 | - (void)revealInSymbolNavigator:(id)arg1; 1390 | - (unsigned long long)_insertionIndexUnderMouse; 1391 | - (id)_documentLocationUnderMouse; 1392 | - (id)_calculateContinueToDocumentLocationFromDocumentLocation:(id)arg1; 1393 | - (id)_calculateContinueToLineDocumentLocation; 1394 | - (id)_calculateContinueToHereDocumentLocation; 1395 | - (BOOL)validateMenuItem:(id)arg1; 1396 | - (void)menuNeedsUpdate:(id)arg1; 1397 | - (void)mouseExited:(id)arg1; 1398 | - (void)mouseEntered:(id)arg1; 1399 | - (void)mouseMoved:(id)arg1; 1400 | - (void)deregisterForMouseEvents; 1401 | - (void)registerForMouseEvents; 1402 | - (struct CGRect)expressionFrameForExpression:(id)arg1; 1403 | - (id)importStringInExpression:(id)arg1; 1404 | - (BOOL)expressionContainsExecutableCode:(id)arg1; 1405 | - (BOOL)isExpressionFunctionOrMethodCall:(id)arg1; 1406 | - (BOOL)isExpressionInFunctionOrMethodBody:(id)arg1; 1407 | - (BOOL)isExpressionFunctionOrMethodDefinition:(id)arg1; 1408 | - (BOOL)isExpressionWithinComment:(id)arg1; 1409 | - (void)symbolsForExpression:(id)arg1 inQueue:(struct dispatch_queue_s *)arg2 completionBlock:(id)arg3; 1410 | @property(readonly, nonatomic) struct CGRect currentSelectionFrame; 1411 | - (void)_invalidateExpressions; 1412 | - (void)_invalidateSelectionExpression; 1413 | - (void)_invalidateMouseOverExpression; 1414 | @property(readonly) DVTSourceExpression *quickHelpExpression; 1415 | @property(readonly) DVTSourceExpression *contextMenuExpression; 1416 | - (void)_updatedMouseOverExpression; 1417 | - (void)_updateSelectedExpression; 1418 | - (BOOL)_expression:(id)arg1 representsTheSameLocationAsExpression:(id)arg2; 1419 | - (id)_expressionAtCharacterIndex:(unsigned long long)arg1; 1420 | - (id)refactoringExpressionUsingContextMenu:(BOOL)arg1; 1421 | - (void)unregisterMouseOverExpressionObserver:(id)arg1; 1422 | - (void)registerMouseOverExpressionObserver:(id)arg1; 1423 | - (void)unregisterSelectedExpressionObserver:(id)arg1; 1424 | - (void)registerSelectedExpressionObserver:(id)arg1; 1425 | - (void)specialPaste:(id)arg1; 1426 | - (id)_specialPasteContext; 1427 | - (void)_changeSourceCodeLanguageAction:(id)arg1; 1428 | - (void)_useSourceCodeLanguageFromFileDataTypeAction:(id)arg1; 1429 | - (void)_askToPromoteToUnicodeSheetDidEnd:(id)arg1 returnCode:(long long)arg2 contextInfo:(void *)arg3; 1430 | - (void)_askToPromoteToUnicode; 1431 | - (void)_applyPerFileTextSettings; 1432 | - (void)textView:(id)arg1 doubleClickedOnCell:(id)arg2 inRect:(struct CGRect)arg3 atIndex:(unsigned long long)arg4; 1433 | - (void)textView:(id)arg1 clickedOnCell:(id)arg2 inRect:(struct CGRect)arg3 atIndex:(unsigned long long)arg4; 1434 | - (void)contextMenu_toggleIssueShown:(id)arg1; 1435 | - (void)toggleIssueShown:(id)arg1; 1436 | - (void)_enumerateDiagnosticAnnotationsInSelection:(id)arg1; 1437 | - (id)_jumpToAnnotationWithSelectedRange:(struct _NSRange)arg1 fixIt:(BOOL)arg2 backwards:(BOOL)arg3; 1438 | - (void)fixAllInScope:(id)arg1; 1439 | - (id)fixableDiagnosticAnnotationsInScope; 1440 | - (id)_diagnosticAnnotationsInScopeFixableOnly:(BOOL)arg1; 1441 | - (id)_diagnosticAnnotationsInRange:(struct _NSRange)arg1 fixableOnly:(BOOL)arg2; 1442 | - (void)_searchDocumentationForSelectedText:(id)arg1; 1443 | - (void)showQuickHelp:(id)arg1; 1444 | - (void)continueToCurrentLine:(id)arg1; 1445 | - (void)continueToHere:(id)arg1; 1446 | - (void)toggleInvisibleCharactersShown:(id)arg1; 1447 | - (void)toggleBreakpointAtCurrentLine:(id)arg1; 1448 | - (void)_stopShowingContentGenerationProgressInidcator; 1449 | - (void)_showContentGenerationProgressIndicatorWithDelay:(double)arg1; 1450 | - (void)_contentGenerationProgressTimerFired:(id)arg1; 1451 | - (void)_hideEmptyView; 1452 | - (void)_showEmptyViewWithMessage:(id)arg1; 1453 | - (void)_centerViewInSuperView:(id)arg1; 1454 | - (void)preprocessFile:(id)arg1; 1455 | - (void)showAssemblyCodeForFile:(id)arg1; 1456 | - (void)_processCurrentFileUsingBuildCommand:(int)arg1; 1457 | - (id)_singleFileProcessingFilePath; 1458 | - (void)startSingleProcessingModeForURL:(id)arg1; 1459 | @property(readonly) BOOL isWorkspaceBuilding; 1460 | - (void)stopNoteExplorer; 1461 | - (void)startNoteExplorerForItem:(id)arg1; 1462 | - (void)showErrorsOnly:(id)arg1; 1463 | - (void)showAllIssues:(id)arg1; 1464 | - (void)toggleMessageBubbles:(id)arg1; 1465 | - (void)hideAnalyzerExplorerAnimate:(BOOL)arg1; 1466 | - (void)showAnalyzerExplorerForMessage:(id)arg1 animate:(BOOL)arg2; 1467 | - (void)_startPrefetchingNodeTypesInUpDirection:(BOOL)arg1 initialLineRange:(struct _NSRange)arg2 noProgressIterations:(unsigned long long)arg3; 1468 | - (void)revertStateWithDictionary:(id)arg1; 1469 | - (void)commitStateToDictionary:(id)arg1; 1470 | - (void)configureStateSavingObservers; 1471 | - (id)_transientStateDictionaryForDocument:(id)arg1; 1472 | - (id)_stateDictionariesForDocuments; 1473 | - (id)cursorForAltTemporaryLink; 1474 | - (void)_textViewDidLoseFirstResponder; 1475 | - (BOOL)completingTextViewHandleCancel:(id)arg1; 1476 | - (void)textViewDidScroll:(id)arg1; 1477 | - (void)textViewDidFinishAnimatingScroll:(id)arg1; 1478 | - (id)textView:(id)arg1 menu:(id)arg2 forEvent:(id)arg3 atIndex:(unsigned long long)arg4; 1479 | - (void)tokenizableItemsForItemAtRealRange:(struct _NSRange)arg1 completionBlock:(id)arg2; 1480 | - (void)textViewBoundsDidChange:(id)arg1; 1481 | - (void)textView:(id)arg1 handleMouseDidExitSidebar:(id)arg2; 1482 | - (void)textView:(id)arg1 handleMouseDidMoveOverSidebar:(id)arg2 atLineNumber:(unsigned long long)arg3; 1483 | - (void)textView:(id)arg1 handleMouseDownInSidebar:(id)arg2 atLineNumber:(unsigned long long)arg3; 1484 | - (id)completingTextView:(id)arg1 documentLocationForWordStartLocation:(unsigned long long)arg2; 1485 | - (void)completingTextView:(id)arg1 willPassContextToStrategies:(id)arg2 atWordStartLocation:(unsigned long long)arg3; 1486 | - (void)textView:(id)arg1 didClickOnTemporaryLinkAtCharacterIndex:(unsigned long long)arg2 event:(id)arg3 isAltEvent:(BOOL)arg4; 1487 | - (void)_doubleClickOnTemporaryHelpLinkTimerExpired; 1488 | - (void)_doubleClickOnTemporaryLinkTimerExpired; 1489 | - (BOOL)textView:(id)arg1 shouldShowTemporaryLinkForCharacterAtIndex:(unsigned long long)arg2 proposedRange:(struct _NSRange)arg3 effectiveRanges:(id *)arg4; 1490 | - (void)textView:(id)arg1 didRemoveAnnotations:(id)arg2; 1491 | - (void)textViewDidLoadAnnotationProviders:(id)arg1; 1492 | - (id)annotationContextForTextView:(id)arg1; 1493 | - (id)syntaxColoringContextForTextView:(id)arg1; 1494 | - (void)_indexDidChange:(id)arg1; 1495 | - (BOOL)textView:(id)arg1 shouldChangeTextInRange:(struct _NSRange)arg2 replacementString:(id)arg3; 1496 | - (void)setupTextViewContextMenuWithMenu:(id)arg1; 1497 | - (void)setupGutterContextMenuWithMenu:(id)arg1; 1498 | - (void)textViewDidChangeSelection:(id)arg1; 1499 | - (void)textDidChange:(id)arg1; 1500 | - (void)removeVisualization:(id)arg1 fadeOut:(BOOL)arg2 completionBlock:(id)arg3; 1501 | - (void)addVisualization:(id)arg1 fadeIn:(BOOL)arg2 completionBlock:(id)arg3; 1502 | @property(readonly) NSArray *visualizations; 1503 | - (id)pathCell:(id)arg1 menuItemForNavigableItem:(id)arg2 defaultMenuItem:(id)arg3; 1504 | - (BOOL)pathCell:(id)arg1 shouldSeparateDisplayOfChildItemsForItem:(id)arg2; 1505 | - (id)startingLocationForFindBar:(id)arg1 findingBackwards:(BOOL)arg2; 1506 | - (void)dvtFindBar:(id)arg1 didUpdateCurrentResult:(id)arg2; 1507 | - (void)dvtFindBar:(id)arg1 didUpdateResults:(id)arg2; 1508 | - (void)_sourceCodeDocumentDidSave:(id)arg1; 1509 | - (void)_sourceCodeDocumentWillSave:(id)arg1; 1510 | - (void)didSetupEditor; 1511 | - (void)takeFocus; 1512 | - (BOOL)canBecomeMainViewController; 1513 | - (id)undoManagerForTextView:(id)arg1; 1514 | - (void)viewWillUninstall; 1515 | - (void)viewDidInstall; 1516 | - (void)contentViewDidCompleteLayout; 1517 | - (void)_doInitialSetup; 1518 | - (void)_liveIssuesPreferencesUpdatedInvalidateDiagnosticController:(BOOL)arg1; 1519 | - (void)_blueprintDidChangeForSourceCodeEditor:(id)arg1; 1520 | - (void)_endObservingDiagnosticItemsAndSessionInProgress; 1521 | - (void)_startObservingDiagnosticItemsAndSessionInProgress; 1522 | - (void)invalidate; 1523 | - (void)selectDocumentLocations:(id)arg1; 1524 | - (void)navigateToAnnotationWithRepresentedObject:(id)arg1 wantsIndicatorAnimation:(BOOL)arg2 exploreAnnotationRepresentedObject:(id)arg3; 1525 | - (id)currentSelectedDocumentLocations; 1526 | - (id)_currentSelectedLandmarkItem; 1527 | - (void)setCurrentSelectedItems:(id)arg1; 1528 | - (id)currentSelectedItems; 1529 | - (BOOL)_isCurrentSelectedItemsValid; 1530 | @property __weak IDEViewController *hostViewController; 1531 | @property(readonly) IDESourceCodeEditorAnnotationProvider *annotationProvider; // @synthesize annotationProvider=_annotationProvider; 1532 | - (id)mainScrollView; 1533 | @property(readonly) IDESourceCodeDocument *sourceCodeDocument; 1534 | - (void)loadView; 1535 | - (id)initWithNibName:(id)arg1 bundle:(id)arg2 document:(id)arg3; 1536 | 1537 | // Remaining properties 1538 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 1539 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 1540 | 1541 | @end 1542 | 1543 | @interface IDESourceCodeEditorAnnotationProvider : DVTAnnotationProvider 1544 | { 1545 | IDESourceCodeEditor *_editor; 1546 | } 1547 | 1548 | + (id)annotationProviderForContext:(id)arg1 error:(id *)arg2; 1549 | @property(readonly) IDESourceCodeEditor *editor; // @synthesize editor=_editor; 1550 | - (id)initWithEditor:(id)arg1; 1551 | 1552 | @end 1553 | 1554 | @interface IDESourceCodeEditorContainerView : DVTLayoutView_ML 1555 | { 1556 | IDESourceCodeEditor *_editor; 1557 | IDEViewController *_toolbarViewController; 1558 | } 1559 | 1560 | - (void)showToolbarWithViewController:(id)arg1; 1561 | - (void)didCompleteLayout; 1562 | 1563 | @end 1564 | 1565 | @interface IDESourceCodeEditorPrincipalClass : NSObject 1566 | { 1567 | } 1568 | 1569 | - (id)init; 1570 | 1571 | @end 1572 | 1573 | @interface IDESourceCodeHelpNavigationRequest : NSObject 1574 | { 1575 | unsigned long long _clickCount; 1576 | BOOL _isInvalidated; 1577 | DVTStackBacktrace *_invalidationBacktrace; 1578 | } 1579 | 1580 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; // @synthesize invalidationBacktrace=_invalidationBacktrace; 1581 | @property unsigned long long clickCount; // @synthesize clickCount=_clickCount; 1582 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 1583 | - (void)invalidate; 1584 | 1585 | @end 1586 | 1587 | @interface IDESourceCodeIndexGeniusResultsFinder : IDEIndexGeniusResultsFinder 1588 | { 1589 | } 1590 | 1591 | + (Class)editorDocumentClass; 1592 | + (id)_classSourceLandmarkItemForTopSourceLandmarkItem:(id)arg1 location:(unsigned long long)arg2; 1593 | + (id)_classSourceLandmarkItemForSourceLandmarkItem:(id)arg1; 1594 | - (BOOL)_getUpdateGeniusResultsPhaseOneBlock:(id *)arg1 phaseTwoBlock:(void)arg2 phaseThreeBlock:(id *)arg3; 1595 | 1596 | @end 1597 | 1598 | @interface IDESourceCodeNavigationRequest : NSObject 1599 | { 1600 | IDESourceCodeEditor *_sourceEditor; 1601 | NSPopUpButtonCell *_symbolPopUpCell; 1602 | DVTTextDocumentLocation *_startLocation; 1603 | DVTDocumentLocation *_destinationLocation; 1604 | NSArray *_destinationSymbolOccurrences; 1605 | id _readyToJumpObserverToken; 1606 | id _readyToDisambiguateObserverToken; 1607 | long long _clickCount; 1608 | unsigned long long _modifierFlags; 1609 | struct CGPoint _startPoint; 1610 | int _navigationEventBehavior; 1611 | id _navigationProgressBlock; 1612 | NSMutableArray *_debugAsyncRequestsLog; 1613 | DVTPerformanceMetric *_performanceMetric; 1614 | DVTStackBacktrace *_invalidationBacktrace; 1615 | BOOL _isInvalidated; 1616 | BOOL _didStart; 1617 | BOOL _didFinish; 1618 | BOOL _didScheduleJumpToDestination; 1619 | BOOL _gotPermissionToJumpWhenReady; 1620 | } 1621 | 1622 | + (id)_performanceLogAspect; 1623 | + (id)_navigationLogAspect; 1624 | + (struct dispatch_queue_s *)_indexQueriesSharedQueue; 1625 | + (id)keyPathsForValuesAffectingReadyToDisambiguateOccurrences; 1626 | + (id)keyPathsForValuesAffectingReadyToJumpToDestination; 1627 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; // @synthesize invalidationBacktrace=_invalidationBacktrace; 1628 | @property BOOL gotPermissionToJumpWhenReady; // @synthesize gotPermissionToJumpWhenReady=_gotPermissionToJumpWhenReady; 1629 | @property(readonly) int navigationEventBehavior; // @synthesize navigationEventBehavior=_navigationEventBehavior; 1630 | @property unsigned long long modifierFlags; // @synthesize modifierFlags=_modifierFlags; 1631 | @property long long clickCount; // @synthesize clickCount=_clickCount; 1632 | @property(retain, nonatomic) NSArray *destinationSymbolOccurrences; // @synthesize destinationSymbolOccurrences=_destinationSymbolOccurrences; 1633 | @property(retain, nonatomic) DVTDocumentLocation *destinationLocation; // @synthesize destinationLocation=_destinationLocation; 1634 | @property(readonly) DVTTextDocumentLocation *startLocation; // @synthesize startLocation=_startLocation; 1635 | @property(readonly) IDESourceCodeEditor *sourceEditor; // @synthesize sourceEditor=_sourceEditor; 1636 | - (id)debuggingStateString; 1637 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 1638 | - (void)invalidate; 1639 | - (BOOL)_destinationLocationForImportedFileInExpression:(id)arg1 inQueue:(struct dispatch_queue_s *)arg2 completionBlock:(id)arg3; 1640 | - (void)_symbolPopUpAction:(id)arg1; 1641 | - (void)_disambiguateAndJumpToResolvedSymbolOccurrences; 1642 | - (id)_superMethod:(id)arg1 expression:(id)arg2 forIndex:(id)arg3; 1643 | - (id)_allMethodsMatchingMethod:(id)arg1 expression:(id)arg2 forIndex:(id)arg3; 1644 | - (void)_symbolOccurrencesForExpression:(id)arg1 includeCurrentLoc:(BOOL)arg2 onlyCurrentDeclarator:(BOOL)arg3 inQueue:(struct dispatch_queue_s *)arg4 completionBlock:(id)arg5; 1645 | - (void)_searchForMore:(id)arg1; 1646 | - (void)_indicateComplete; 1647 | - (void)_indicateProgress; 1648 | - (void)_indicateSymbolNotFound; 1649 | - (void)_jumpToResolvedDestinationLocation; 1650 | - (void)navigateWhenReadyWithProgressIndicationBlock:(id)arg1; 1651 | - (void)navigateWhenReady; 1652 | - (void)revealInNavigatorForExpression:(id)arg1; 1653 | - (void)jumpToDefinitionOfExpression:(id)arg1 fromScreenPoint:(struct CGPoint)arg2; 1654 | - (id)initWithSourceEditor:(id)arg1; 1655 | - (id)init; 1656 | @property(readonly) BOOL readyToDisambiguateOccurrences; 1657 | @property(readonly) BOOL readyToJumpToDestination; 1658 | 1659 | @end 1660 | 1661 | @interface IDESourceCodePreviewProvider : IDEEditorDocumentPreviewProvider 1662 | { 1663 | DVTPointerArray *_rowHeights; 1664 | DVTSourceTextStorage *_background_originalTextStorage; 1665 | DVTSourceTextStorage *_background_previewTextStorage; 1666 | DVTMapTable *_sliceHeightLayoutManagersForOriginalTextStorage; 1667 | DVTMapTable *_sliceHeightLayoutManagersForPreviewTextStorage; 1668 | NSMutableSet *_generatedSliceTextViews; 1669 | } 1670 | 1671 | @property(retain) DVTSourceTextStorage *background_previewTextStorage; // @synthesize background_previewTextStorage=_background_previewTextStorage; 1672 | @property(retain) DVTSourceTextStorage *background_originalTextStorage; // @synthesize background_originalTextStorage=_background_originalTextStorage; 1673 | - (void)didReplaceFindResults; 1674 | - (void)_snapshotPreview; 1675 | - (id)generateViewWithRect:(struct CGRect)arg1; 1676 | - (void)updateSelectedLocation:(id)arg1 forView:(id)arg2 atIndex:(long long)arg3 preview:(BOOL)arg4; 1677 | - (void)populateView:(id)arg1 forPreviewAtIndex:(long long)arg2; 1678 | - (void)populateView:(id)arg1 forDocumentAtIndex:(long long)arg2; 1679 | - (double)minimumHeightForRowAtIndex:(long long)arg1 withWidth:(double)arg2; 1680 | - (double)_sliceHeightforLocations:(id)arg1 focusOnLocation:(long long)arg2 inDocument:(id)arg3 withWidth:(double)arg4; 1681 | - (id)previewViewIdentifier; 1682 | - (void)setupPreview; 1683 | - (void)setupDocument; 1684 | - (BOOL)_setupSliceView:(id)arg1 forLocations:(id)arg2 focusOnLocation:(long long)arg3 inDocument:(id)arg4; 1685 | - (void)invalidate; 1686 | - (id)sliceHeightLayoutManagersForPreviewTextStorage; 1687 | - (id)sliceHeightLayoutManagersForOriginalTextStorage; 1688 | 1689 | @end 1690 | 1691 | @interface IDESourceCodePrintPanelAccessoryController : NSViewController 1692 | { 1693 | id _fontAndColorThmesObservationToken; 1694 | id _sourceTextSettingsChangedObsevationToken; 1695 | IDESourceCodeEditor *_sourceCodeEditor; 1696 | DVTSourceTextView *_textView; 1697 | DVTFontAndColorTheme *_selectedFontAndColorTheme; 1698 | NSPopUpButton *_fontAndColorThemesPopUpButton; 1699 | } 1700 | 1701 | + (void)initialize; 1702 | @property(retain, nonatomic) DVTSourceTextView *textView; // @synthesize textView=_textView; 1703 | @property(retain) IDESourceCodeEditor *sourceCodeEditor; // @synthesize sourceCodeEditor=_sourceCodeEditor; 1704 | - (id)keyPathsForValuesAffectingPreview; 1705 | - (id)localizedSummaryItems; 1706 | - (void)_openFontsAndColorsPreferencesAction:(id)arg1; 1707 | - (void)_fontAndColorThemeMenuItemAction:(id)arg1; 1708 | - (void)loadView; 1709 | - (void)_updateFontAndColorThemesPopUpButton; 1710 | @property BOOL printsTextFolds; 1711 | @property BOOL printsHeaderAndFooter; 1712 | @property BOOL printsBackground; 1713 | - (void)setRepresentedObject:(id)arg1; 1714 | - (void)_updateTextFolds; 1715 | @property(retain) DVTFontAndColorTheme *selectedFontAndColorTheme; // @synthesize selectedFontAndColorTheme=_selectedFontAndColorTheme; 1716 | @property(readonly) DVTPreferenceSetManager *_preferenceSetManager; 1717 | 1718 | @end 1719 | 1720 | @interface IDESourceCodeVersionsBlameSubmode : IDEComparisonEditorSubmode 1721 | { 1722 | id _loadingObserver; 1723 | id _themeObserver; 1724 | IDESourceCodeBlameController *_blameController; 1725 | NSDictionary *_previouslyRestoredStateDictionary; 1726 | DVTBorderedView *_primaryLayoutView; 1727 | IDEEditor *_primaryEditor; 1728 | id _primaryEditorSetupObservationToken; 1729 | id _internalComparisonEditorLocationObservingToken; 1730 | id _blameAvailableToken; 1731 | id _textViewBoundsChangedObserverToken; 1732 | NSProgressIndicator *_loadingProgressIndicator; 1733 | } 1734 | 1735 | + (id)keyPathsForValuesAffectingCurrentSelectedDocumentLocations; 1736 | + (id)keyPathsForValuesAffectingCurrentSelectedItems; 1737 | + (id)keyPathsForValuesAffectingKeyEditor; 1738 | @property(retain) DVTBorderedView *primaryLayoutView; // @synthesize primaryLayoutView=_primaryLayoutView; 1739 | @property(retain) IDESourceCodeBlameController *blameController; // @synthesize blameController=_blameController; 1740 | - (void)revertComparisonEditorStateWithDictionary:(id)arg1; 1741 | - (void)commitComparisonEditorStateToDictionary:(id)arg1; 1742 | - (void)textViewDidLoadAnnotationProviders:(id)arg1; 1743 | - (id)annotationContextForTextView:(id)arg1; 1744 | - (id)currentSelectedDocumentLocations; 1745 | - (id)currentSelectedItems; 1746 | - (void)blameController:(id)arg1 didEncounterError:(id)arg2; 1747 | - (void)blameController:(id)arg1 showRevision:(id)arg2; 1748 | - (void)blameController:(id)arg1 diffAgainstRevision:(id)arg2; 1749 | - (void)blameController:(id)arg1 compareToRevision:(id)arg2; 1750 | - (void)blameController:(id)arg1 compareRevisionToPreviousRevision:(id)arg2; 1751 | - (void)hidePrimaryPlaceholder; 1752 | - (void)showPrimaryPlaceholder; 1753 | - (void)comparisonEditor:(id)arg1 didReplacePrimaryDocument:(id)arg2; 1754 | - (void)_createBlameController; 1755 | - (id)_sourceControlDocumentLocationFromComparisonEditorPrimaryDocumentLocation; 1756 | - (void)_observeBlameControllerLoading; 1757 | - (void)_observeThemeChanges:(id)arg1; 1758 | - (id)_addBlameAreaVisualization; 1759 | - (void)_completeSetUpWithEditor:(id)arg1; 1760 | - (void)_syncStructureDocument; 1761 | - (id)_fileTextSettings; 1762 | - (void)invalidate; 1763 | - (void)willBeRemovedFromComparisonEditor; 1764 | - (void)viewDidInstall; 1765 | - (void)showEmptyPrimaryEditor:(id)arg1; 1766 | - (void)loadView; 1767 | @property(retain) IDEEditor *primaryEditor; // @synthesize primaryEditor=_primaryEditor; 1768 | @property(readonly) DVTSourceTextView *primaryTextView; 1769 | - (id)keyEditor; 1770 | 1771 | @end 1772 | 1773 | @interface IDESourceCodeVersionsLayoutView : DVTBorderedView 1774 | { 1775 | NSTrackingArea *_trackingArea; 1776 | NSSplitView *_comparisonSplitView; 1777 | NSScroller *_globalScroller; 1778 | NSView *_rightContentView; 1779 | id _contentAreaDelegate; 1780 | } 1781 | 1782 | @property(retain) id contentAreaDelegate; // @synthesize contentAreaDelegate=_contentAreaDelegate; 1783 | @property(retain) NSView *rightContentView; // @synthesize rightContentView=_rightContentView; 1784 | @property(retain) NSScroller *globalScroller; // @synthesize globalScroller=_globalScroller; 1785 | @property(retain) NSSplitView *comparisonSplitView; // @synthesize comparisonSplitView=_comparisonSplitView; 1786 | - (void)viewDidMoveToWindow; 1787 | - (void)viewWillMoveToWindow:(id)arg1; 1788 | - (void)_windowOrderedOut:(id)arg1; 1789 | - (void)_windowOrderedIn:(id)arg1; 1790 | - (void)viewWillMoveToSuperview:(id)arg1; 1791 | - (void)viewDidHide; 1792 | - (void)mouseMoved:(id)arg1; 1793 | - (void)mouseExited:(id)arg1; 1794 | - (void)mouseEntered:(id)arg1; 1795 | - (void)viewWillDraw; 1796 | - (void)updateTrackingAreas; 1797 | - (void)layoutTopDown; 1798 | 1799 | @end 1800 | 1801 | @interface IDESourceCodeVersionsLogSubmode : IDEComparisonEditorSubmode 1802 | { 1803 | NSDictionary *_previouslyRestoredStateDictionary; 1804 | DVTBorderedView *_primaryLayoutView; 1805 | IDEEditor *_primaryEditor; 1806 | id _primaryEditorSetupObservationToken; 1807 | } 1808 | 1809 | + (id)keyPathsForValuesAffectingCurrentSelectedDocumentLocations; 1810 | + (id)keyPathsForValuesAffectingCurrentSelectedItems; 1811 | + (id)keyPathsForValuesAffectingKeyEditor; 1812 | @property(retain) DVTBorderedView *primaryLayoutView; // @synthesize primaryLayoutView=_primaryLayoutView; 1813 | - (void)textViewDidLoadAnnotationProviders:(id)arg1; 1814 | - (void)revertComparisonEditorStateWithDictionary:(id)arg1; 1815 | - (void)commitComparisonEditorStateToDictionary:(id)arg1; 1816 | - (id)currentSelectedDocumentLocations; 1817 | - (id)currentSelectedItems; 1818 | - (void)showEmptyPrimaryEditor:(id)arg1; 1819 | - (void)hidePrimaryPlaceholder; 1820 | - (void)showPrimaryPlaceholder; 1821 | - (void)comparisonEditor:(id)arg1 didReplacePrimaryDocument:(id)arg2; 1822 | - (void)_syncStructureDocument; 1823 | - (id)_fileTextSettings; 1824 | - (void)invalidate; 1825 | - (void)viewDidInstall; 1826 | - (void)loadView; 1827 | @property(retain) IDEEditor *primaryEditor; // @synthesize primaryEditor=_primaryEditor; 1828 | @property(readonly) DVTSourceTextView *primaryTextView; 1829 | - (id)keyEditor; 1830 | 1831 | @end 1832 | 1833 | @interface IDESourceCodeVersionsTwoUpSubmode : IDEComparisonEditorSubmode 1834 | { 1835 | DVTBorderedView *_primaryLayoutView; 1836 | DVTBorderedView *_secondaryLayoutView; 1837 | IDESourceCodeVersionsLayoutView *_versionsLayoutView; 1838 | DVTComparisonSplitView *_comparisonSplitView; 1839 | DVTComparisonScrollCoordinator *_comparisonScrollCoordinator; 1840 | DVTDiffSession *_diffSession; 1841 | IDESourceCodeDocument *_mergeDocument; 1842 | IDEEditor *_primaryEditor; 1843 | IDEEditor *_secondaryEditor; 1844 | id _selectedToken; 1845 | id _responderToken; 1846 | id _statsObservationToken; 1847 | id _conflictResolutionDidCompleteObserver; 1848 | NSDictionary *_previouslyRestoredStateDictionary; 1849 | id _primaryEditorSetupObservationToken; 1850 | id _secondaryEditorSetupObservationToken; 1851 | IDESourceControlConflictMergeData *_previousMergeData; 1852 | unsigned long long _documentLoadCount; 1853 | BOOL _showingPrimaryDocumentStructure; 1854 | BOOL _firstResults; 1855 | } 1856 | 1857 | + (id)logAspect; 1858 | + (id)keyPathsForValuesAffectingCurrentSelectedDocumentLocations; 1859 | + (id)keyPathsForValuesAffectingCurrentSelectedItems; 1860 | + (id)keyPathsForValuesAffectingKeyEditor; 1861 | @property(retain) IDESourceCodeDocument *mergeDocument; // @synthesize mergeDocument=_mergeDocument; 1862 | @property BOOL showingPrimaryDocumentStructure; // @synthesize showingPrimaryDocumentStructure=_showingPrimaryDocumentStructure; 1863 | @property(retain) DVTComparisonScrollCoordinator *comparisonScrollCoordinator; // @synthesize comparisonScrollCoordinator=_comparisonScrollCoordinator; 1864 | @property(retain) IDESourceCodeVersionsLayoutView *versionsLayoutView; // @synthesize versionsLayoutView=_versionsLayoutView; 1865 | @property(retain) DVTComparisonSplitView *comparisonSplitView; // @synthesize comparisonSplitView=_comparisonSplitView; 1866 | @property(retain) DVTBorderedView *secondaryLayoutView; // @synthesize secondaryLayoutView=_secondaryLayoutView; 1867 | @property(retain) DVTBorderedView *primaryLayoutView; // @synthesize primaryLayoutView=_primaryLayoutView; 1868 | - (void)revertComparisonEditorStateWithDictionary:(id)arg1; 1869 | - (void)commitComparisonEditorStateToDictionary:(id)arg1; 1870 | - (void)diffSessionDidScrapeDiffResults:(id)arg1; 1871 | - (BOOL)comparisonEditorShouldCloseDocumentsDuringWillOpenSpecifier:(id)arg1; 1872 | - (void)comparisonEditor:(id)arg1 didReplaceAncestorDocument:(id)arg2; 1873 | - (id)comparisonEditor:(id)arg1 substituteDocumentLocationForAncestorDocumentLocation:(id)arg2; 1874 | - (void)comparisonEditor:(id)arg1 didReplaceSecondaryDocument:(id)arg2; 1875 | - (id)comparisonEditor:(id)arg1 substituteDocumentLocationForSecondaryDocumentLocation:(id)arg2; 1876 | - (void)comparisonEditor:(id)arg1 didReplacePrimaryDocument:(id)arg2; 1877 | - (id)comparisonEditor:(id)arg1 substituteDocumentLocationForPrimaryDocumentLocation:(id)arg2; 1878 | - (void)_setupEditorForPrimaryOrMergeDocument:(id)arg1; 1879 | - (id)_fileTextSettings; 1880 | - (id)currentSelectedDocumentLocations; 1881 | - (id)currentSelectedItems; 1882 | - (void)hideSecondaryPlaceholder; 1883 | - (void)showSecondaryPlaceholder; 1884 | - (void)hidePrimaryPlaceholder; 1885 | - (void)showPrimaryPlaceholder; 1886 | - (double)splitView:(id)arg1 constrainSplitPosition:(double)arg2 ofSubviewAt:(long long)arg3; 1887 | - (double)splitView:(id)arg1 constrainMaxCoordinate:(double)arg2 ofSubviewAt:(long long)arg3; 1888 | - (double)splitView:(id)arg1 constrainMinCoordinate:(double)arg2 ofSubviewAt:(long long)arg3; 1889 | - (void)splitViewDidResizeSubviews:(id)arg1; 1890 | - (void)textViewDidScroll:(id)arg1; 1891 | - (void)textViewDidFinishAnimatingScroll:(id)arg1; 1892 | - (void)textViewDidLoadAnnotationProviders:(id)arg1; 1893 | - (id)annotationContextForTextView:(id)arg1; 1894 | - (void)showEmptySecondaryEditor:(id)arg1; 1895 | - (void)showEmptyPrimaryEditor:(id)arg1; 1896 | - (void)_willOpenSpecifier:(id)arg1; 1897 | - (void)viewWillUninstall; 1898 | - (void)viewDidInstall; 1899 | - (void)invalidate; 1900 | - (void)loadView; 1901 | - (void)_syncStructureDocument; 1902 | - (void)_initializeDiffSession; 1903 | - (void)_tearDownDiffSession; 1904 | - (void)_validateMergeData:(id)arg1; 1905 | - (void)_saveMergeState; 1906 | - (void)_resetMergeState; 1907 | - (id)_windowForError; 1908 | @property(readonly) IDESourceControlConflictMergeData *previousMergeData; 1909 | @property(retain) DVTDiffSession *diffSession; 1910 | @property(retain) IDEEditor *secondaryEditor; // @synthesize secondaryEditor=_secondaryEditor; 1911 | @property(retain) IDEEditor *primaryEditor; // @synthesize primaryEditor=_primaryEditor; 1912 | @property(readonly) DVTSourceTextView *secondaryTextView; 1913 | @property(readonly) DVTSourceTextView *primaryTextView; 1914 | - (id)keyEditor; 1915 | - (void)comparisonContextMenu_copyDiff:(id)arg1; 1916 | 1917 | @end 1918 | 1919 | @interface IDETextCompletionFrameworksStrategy : DVTTextCompletionStrategy 1920 | { 1921 | id _headerFileSearchContext; 1922 | NSArray *_frameworkSearchPaths; 1923 | } 1924 | 1925 | - (id)completionItemsForDocumentLocation:(id)arg1 context:(id)arg2 areDefinitive:(char *)arg3; 1926 | - (id)_completionItemsFromSubPath:(id)arg1; 1927 | - (id)_uniqueCompletionItemsAtPath:(id)arg1 insideFramework:(BOOL)arg2 privateHeaders:(BOOL)arg3; 1928 | - (id)frameworkSearchPaths; 1929 | - (id)headerFileSearchContext; 1930 | 1931 | @end 1932 | 1933 | @interface IDETextCompletionHeadersInSearchPathStrategy : DVTTextCompletionStrategy 1934 | { 1935 | id _headerFileSearchContext; 1936 | NSArray *_userHeaderSearchPaths; 1937 | NSArray *_systemHeaderSearchPaths; 1938 | NSFileManager *_fileManager; 1939 | } 1940 | 1941 | - (id)completionItemsForDocumentLocation:(id)arg1 context:(id)arg2 areDefinitive:(char *)arg3; 1942 | - (id)_completionItemsFromSubPath:(id)arg1 includerURL:(id)arg2 usingUserPaths:(BOOL)arg3 context:(id)arg4; 1943 | - (id)_uniqueCompletionItemsAtPath:(id)arg1 withBasePriority:(long long)arg2; 1944 | - (id)_fileManager; 1945 | - (BOOL)alwaysSearchUserPaths; 1946 | - (id)userHeaderSearchPaths; 1947 | - (id)systemHeaderSearchPaths; 1948 | - (id)headerFileSearchContext; 1949 | 1950 | @end 1951 | 1952 | @interface IDETextCompletionHeadersInWorkspaceStrategy : DVTTextCompletionStrategy 1953 | { 1954 | id _queryObservationToken; 1955 | id _lastQuery; 1956 | } 1957 | 1958 | - (id)completionItemsForDocumentLocation:(id)arg1 context:(id)arg2 areDefinitive:(char *)arg3; 1959 | - (void)prepareForDocumentLocation:(id)arg1 context:(id)arg2; 1960 | - (id)_cachedHeaderCompletionsForWorkspace:(id)arg1; 1961 | - (void)_updateHeaderCompletionsForWorkspace:(id)arg1; 1962 | - (id)_headersQueryForWorkspace:(id)arg1; 1963 | 1964 | @end 1965 | 1966 | @interface IDETextCompletionSourceModelStrategy : DVTTextCompletionStrategy 1967 | { 1968 | int _currentCompletionType; 1969 | DVTSourceCodeLanguage *_objCLang; 1970 | } 1971 | 1972 | + (BOOL)shouldAutoCompleteClassForwardDeclarationAtLocation:(unsigned long long)arg1 inTextStorage:(id)arg2; 1973 | - (id)completionItemsForDocumentLocation:(id)arg1 context:(id)arg2 areDefinitive:(char *)arg3; 1974 | - (id)_classCompletionItemsForDocumentLocation:(id)arg1 context:(id)arg2 areDefinitive:(char *)arg3; 1975 | - (void)prepareForDocumentLocation:(id)arg1 context:(id)arg2; 1976 | 1977 | @end 1978 | 1979 | @interface IDETextEditingPrefsPaneController : IDEViewController 1980 | { 1981 | NSPopUpButton *_encodingsPopup; 1982 | NSBox *_indentationBox; 1983 | NSTabView *_tabView; 1984 | } 1985 | 1986 | + (void)initialize; 1987 | @property BOOL autoIndentReturnCharacter; 1988 | @property BOOL autoIndentPoundCharacter; 1989 | @property BOOL autoIndentColonCharacter; 1990 | @property BOOL autoIndentSemiColonCharacter; 1991 | @property BOOL autoIndentCloseBraceCharacter; 1992 | @property BOOL autoIndentOpenBraceCharacter; 1993 | - (void)_setAutoIndent:(BOOL)arg1 forCharacter:(unsigned short)arg2; 1994 | @property(readonly) DVTTextPreferences *textPreferences; 1995 | - (void)awakeFromNib; 1996 | 1997 | @end 1998 | 1999 | @interface IDETextEditingPrefsPaneTabViewItemContainerView : NSView 2000 | { 2001 | } 2002 | 2003 | - (id)menu; 2004 | 2005 | @end 2006 | 2007 | @interface IDETextPrefsBoolToIndexTransformer : NSValueTransformer 2008 | { 2009 | } 2010 | 2011 | + (BOOL)allowsReverseTransformation; 2012 | + (Class)transformedValueClass; 2013 | - (id)reverseTransformedValue:(id)arg1; 2014 | - (id)transformedValue:(id)arg1; 2015 | 2016 | @end 2017 | 2018 | @interface IDETextSettingsInspectorController : IDEInspectorViewController 2019 | { 2020 | } 2021 | 2022 | @end 2023 | 2024 | @interface IDETextSettingsContainerInspectorController : IDETextSettingsInspectorController 2025 | { 2026 | } 2027 | 2028 | @end 2029 | 2030 | @interface IDETextSettingsInspectorPopupController : IDEInspectorProperty 2031 | { 2032 | NSPopUpButton *_popup; 2033 | } 2034 | 2035 | @property(retain) IDEInspectorViewController *inspectorController; 2036 | - (id)initWithPropertyDefinition:(id)arg1 andController:(id)arg2; 2037 | 2038 | @end 2039 | 2040 | @interface IDETextSettingsInspectorEncodingsController : IDETextSettingsInspectorPopupController 2041 | { 2042 | NSNumber *_proposedNewEncoding; 2043 | NSMenuItem *_unspecifiedItem; 2044 | NSMenuItem *_unspecifiedItemSeparator; 2045 | } 2046 | 2047 | + (id)keyPathsForValuesAffectingEncodingValue; 2048 | - (void)_warningUnsavedSheetDidDismiss:(id)arg1 returnCode:(long long)arg2 contextInfo:(void *)arg3; 2049 | - (void)_encodingSheetDidDismiss:(id)arg1 returnCode:(long long)arg2 contextInfo:(void *)arg3; 2050 | - (void)_applyNewEncodingShouldConvert:(BOOL)arg1; 2051 | - (void)_refreshPopup; 2052 | - (void)_restorePopup; 2053 | @property(retain) NSNumber *encodingValue; 2054 | - (id)bindAndConfigure; 2055 | 2056 | @end 2057 | 2058 | @interface IDETextSettingsInspectorLineEndingsController : IDETextSettingsInspectorPopupController 2059 | { 2060 | NSMenuItem *_unspecifiedItem; 2061 | NSMenuItem *_unspecifiedItemSeparator; 2062 | } 2063 | 2064 | + (id)keyPathsForValuesAffectingLineEndingsValue; 2065 | @property(retain) NSNumber *lineEndingsValue; 2066 | - (void)_restorePopup; 2067 | - (id)bindAndConfigure; 2068 | 2069 | @end 2070 | 2071 | @interface IDETextSettingsProjectInspectorController : IDETextSettingsInspectorController 2072 | { 2073 | } 2074 | 2075 | @end 2076 | 2077 | @interface _IDEDiagnosticFixItTableView : DVTTableView 2078 | { 2079 | IDEDiagnosticFixItController *_fixItController; 2080 | } 2081 | 2082 | @property(retain) IDEDiagnosticFixItController *fixItController; // @synthesize fixItController=_fixItController; 2083 | - (void)keyDown:(id)arg1; 2084 | 2085 | @end 2086 | 2087 | @interface _IDESourceCodeDocumentPrintHelper : NSObject 2088 | { 2089 | NSLayoutManager *_layoutManager; 2090 | NSWindow *_window; 2091 | } 2092 | 2093 | @property(retain) NSWindow *window; // @synthesize window=_window; 2094 | @property(retain) NSLayoutManager *layoutManager; // @synthesize layoutManager=_layoutManager; 2095 | - (void)finalize; 2096 | 2097 | @end 2098 | 2099 | -------------------------------------------------------------------------------- /PluginConsole/PluginConsole/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | PluginConsole 2 | ============= 3 | 4 | Extension for default Xcode console. 5 | 6 | ## Installation 7 | Build this plugin, then the plugin will automatically be installed in `~/Library/Application Support/Developer/Shared/Xcode/Plug-ins`. 8 | Relaunch Xcode and PluginConsole will make your life easier. 9 | 10 | ##Xcode 5 11 | If you use Xcode 4 then you should not download latest commit. Latest commit uses for Xcode 5 only and Scheme was be updated. 12 | 13 | ## Usage 14 | Copy `Client` folder to your plugin and add LogClient.h to your .pch file. And then use PluginLog() and PluginLogWithName() for log to the standart console. 15 | 16 | When you debug your plugin, click to `Show Plugins Log` button and you will see debug information from your plugin. 17 | 18 | ![PC_ss01.png](http://cl.ly/image/2Y0U1t1j1L2A/Screen%20Shot%202013-05-16%20at%202.43.45.png) 19 | ![PC_ss02.png](http://cl.ly/image/0G2M0R0q443Y/Screen%20Shot%202013-05-16%20at%203.06.21.png) 20 | Xcode 5 21 | ![PC_ss03.png](http://cl.ly/image/1D000H1D3t2j/Screen%20Shot%202013-09-24%20at%2023.37.27.png) 22 | ## License 23 | *PluginConsole* is released under the **MIT License**, see *LICENSE.txt*. 24 | --------------------------------------------------------------------------------