├── .gitignore ├── LICENSE ├── PrettyPrintJSON.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── PrettyPrintJSON.xccheckout ├── xcshareddata │ └── xcschemes │ │ └── PrettyPrintJSON.xcscheme └── xcuserdata │ └── psobko.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── PrettyPrintJSON ├── Info.plist ├── PrettyPrintJSON.h ├── PrettyPrintJSON.m └── XcodeClasses │ ├── DVTFoundation.h │ ├── DVTKit.h │ ├── IDEFoundation.h │ ├── IDEKit.h │ └── IDESourceEditor.h └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | *.xcuserstate 3 | 4 | PrettyPrintJSON.xcworkspace/xcuserdata/psobko.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist 5 | 6 | *.xcbkptlist 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Piotrek Sobkowski 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /PrettyPrintJSON.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 49C6C8051AF9595200A711F2 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 49C6C8041AF9595200A711F2 /* AppKit.framework */; }; 11 | 49C6C8071AF9595200A711F2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 49C6C8061AF9595200A711F2 /* Foundation.framework */; }; 12 | 49C6C80C1AF9595200A711F2 /* PrettyPrintJSON.xcscheme in Resources */ = {isa = PBXBuildFile; fileRef = 49C6C80B1AF9595200A711F2 /* PrettyPrintJSON.xcscheme */; }; 13 | 49C6C80F1AF9595200A711F2 /* PrettyPrintJSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 49C6C80E1AF9595200A711F2 /* PrettyPrintJSON.m */; }; 14 | /* End PBXBuildFile section */ 15 | 16 | /* Begin PBXFileReference section */ 17 | 4903A7EA1AFACD2F00F467D1 /* DVTFoundation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DVTFoundation.h; sourceTree = ""; }; 18 | 4903A7EB1AFACD2F00F467D1 /* DVTKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DVTKit.h; sourceTree = ""; }; 19 | 4903A7EC1AFACD2F00F467D1 /* IDEFoundation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDEFoundation.h; sourceTree = ""; }; 20 | 4903A7ED1AFACD2F00F467D1 /* IDEKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDEKit.h; sourceTree = ""; }; 21 | 4903A7EE1AFACD2F00F467D1 /* IDESourceEditor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDESourceEditor.h; sourceTree = ""; }; 22 | 49C6C8011AF9595200A711F2 /* PrettyPrintJSON.xcplugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PrettyPrintJSON.xcplugin; sourceTree = BUILT_PRODUCTS_DIR; }; 23 | 49C6C8041AF9595200A711F2 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 24 | 49C6C8061AF9595200A711F2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 25 | 49C6C80A1AF9595200A711F2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 26 | 49C6C80B1AF9595200A711F2 /* PrettyPrintJSON.xcscheme */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = PrettyPrintJSON.xcscheme; path = PrettyPrintJSON.xcodeproj/xcshareddata/xcschemes/PrettyPrintJSON.xcscheme; sourceTree = SOURCE_ROOT; }; 27 | 49C6C80D1AF9595200A711F2 /* PrettyPrintJSON.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PrettyPrintJSON.h; sourceTree = ""; }; 28 | 49C6C80E1AF9595200A711F2 /* PrettyPrintJSON.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PrettyPrintJSON.m; sourceTree = ""; }; 29 | /* End PBXFileReference section */ 30 | 31 | /* Begin PBXFrameworksBuildPhase section */ 32 | 49C6C7FF1AF9595200A711F2 /* Frameworks */ = { 33 | isa = PBXFrameworksBuildPhase; 34 | buildActionMask = 2147483647; 35 | files = ( 36 | 49C6C8051AF9595200A711F2 /* AppKit.framework in Frameworks */, 37 | 49C6C8071AF9595200A711F2 /* Foundation.framework in Frameworks */, 38 | ); 39 | runOnlyForDeploymentPostprocessing = 0; 40 | }; 41 | /* End PBXFrameworksBuildPhase section */ 42 | 43 | /* Begin PBXGroup section */ 44 | 4903A7E91AFACD2F00F467D1 /* XcodeClasses */ = { 45 | isa = PBXGroup; 46 | children = ( 47 | 4903A7EA1AFACD2F00F467D1 /* DVTFoundation.h */, 48 | 4903A7EB1AFACD2F00F467D1 /* DVTKit.h */, 49 | 4903A7EC1AFACD2F00F467D1 /* IDEFoundation.h */, 50 | 4903A7ED1AFACD2F00F467D1 /* IDEKit.h */, 51 | 4903A7EE1AFACD2F00F467D1 /* IDESourceEditor.h */, 52 | ); 53 | path = XcodeClasses; 54 | sourceTree = ""; 55 | }; 56 | 49C6C7F81AF9595200A711F2 = { 57 | isa = PBXGroup; 58 | children = ( 59 | 49C6C8081AF9595200A711F2 /* PrettyPrintJSON */, 60 | 49C6C8031AF9595200A711F2 /* Frameworks */, 61 | 49C6C8021AF9595200A711F2 /* Products */, 62 | ); 63 | sourceTree = ""; 64 | }; 65 | 49C6C8021AF9595200A711F2 /* Products */ = { 66 | isa = PBXGroup; 67 | children = ( 68 | 49C6C8011AF9595200A711F2 /* PrettyPrintJSON.xcplugin */, 69 | ); 70 | name = Products; 71 | sourceTree = ""; 72 | }; 73 | 49C6C8031AF9595200A711F2 /* Frameworks */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 49C6C8041AF9595200A711F2 /* AppKit.framework */, 77 | 49C6C8061AF9595200A711F2 /* Foundation.framework */, 78 | ); 79 | name = Frameworks; 80 | sourceTree = ""; 81 | }; 82 | 49C6C8081AF9595200A711F2 /* PrettyPrintJSON */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 4903A7E91AFACD2F00F467D1 /* XcodeClasses */, 86 | 49C6C80D1AF9595200A711F2 /* PrettyPrintJSON.h */, 87 | 49C6C80E1AF9595200A711F2 /* PrettyPrintJSON.m */, 88 | 49C6C8091AF9595200A711F2 /* Supporting Files */, 89 | ); 90 | path = PrettyPrintJSON; 91 | sourceTree = ""; 92 | }; 93 | 49C6C8091AF9595200A711F2 /* Supporting Files */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 49C6C80A1AF9595200A711F2 /* Info.plist */, 97 | 49C6C80B1AF9595200A711F2 /* PrettyPrintJSON.xcscheme */, 98 | ); 99 | name = "Supporting Files"; 100 | sourceTree = ""; 101 | }; 102 | /* End PBXGroup section */ 103 | 104 | /* Begin PBXNativeTarget section */ 105 | 49C6C8001AF9595200A711F2 /* PrettyPrintJSON */ = { 106 | isa = PBXNativeTarget; 107 | buildConfigurationList = 49C6C8121AF9595200A711F2 /* Build configuration list for PBXNativeTarget "PrettyPrintJSON" */; 108 | buildPhases = ( 109 | 49C6C7FD1AF9595200A711F2 /* Sources */, 110 | 49C6C7FE1AF9595200A711F2 /* Resources */, 111 | 49C6C7FF1AF9595200A711F2 /* Frameworks */, 112 | ); 113 | buildRules = ( 114 | ); 115 | dependencies = ( 116 | ); 117 | name = PrettyPrintJSON; 118 | productName = PrettyPrintJSON; 119 | productReference = 49C6C8011AF9595200A711F2 /* PrettyPrintJSON.xcplugin */; 120 | productType = "com.apple.product-type.bundle"; 121 | }; 122 | /* End PBXNativeTarget section */ 123 | 124 | /* Begin PBXProject section */ 125 | 49C6C7F91AF9595200A711F2 /* Project object */ = { 126 | isa = PBXProject; 127 | attributes = { 128 | LastUpgradeCheck = 0630; 129 | ORGANIZATIONNAME = psobko; 130 | TargetAttributes = { 131 | 49C6C8001AF9595200A711F2 = { 132 | CreatedOnToolsVersion = 6.3; 133 | }; 134 | }; 135 | }; 136 | buildConfigurationList = 49C6C7FC1AF9595200A711F2 /* Build configuration list for PBXProject "PrettyPrintJSON" */; 137 | compatibilityVersion = "Xcode 3.2"; 138 | developmentRegion = English; 139 | hasScannedForEncodings = 0; 140 | knownRegions = ( 141 | en, 142 | ); 143 | mainGroup = 49C6C7F81AF9595200A711F2; 144 | productRefGroup = 49C6C8021AF9595200A711F2 /* Products */; 145 | projectDirPath = ""; 146 | projectRoot = ""; 147 | targets = ( 148 | 49C6C8001AF9595200A711F2 /* PrettyPrintJSON */, 149 | ); 150 | }; 151 | /* End PBXProject section */ 152 | 153 | /* Begin PBXResourcesBuildPhase section */ 154 | 49C6C7FE1AF9595200A711F2 /* Resources */ = { 155 | isa = PBXResourcesBuildPhase; 156 | buildActionMask = 2147483647; 157 | files = ( 158 | 49C6C80C1AF9595200A711F2 /* PrettyPrintJSON.xcscheme in Resources */, 159 | ); 160 | runOnlyForDeploymentPostprocessing = 0; 161 | }; 162 | /* End PBXResourcesBuildPhase section */ 163 | 164 | /* Begin PBXSourcesBuildPhase section */ 165 | 49C6C7FD1AF9595200A711F2 /* Sources */ = { 166 | isa = PBXSourcesBuildPhase; 167 | buildActionMask = 2147483647; 168 | files = ( 169 | 49C6C80F1AF9595200A711F2 /* PrettyPrintJSON.m in Sources */, 170 | ); 171 | runOnlyForDeploymentPostprocessing = 0; 172 | }; 173 | /* End PBXSourcesBuildPhase section */ 174 | 175 | /* Begin XCBuildConfiguration section */ 176 | 49C6C8101AF9595200A711F2 /* Debug */ = { 177 | isa = XCBuildConfiguration; 178 | buildSettings = { 179 | ALWAYS_SEARCH_USER_PATHS = NO; 180 | ARCHS = "$(ARCHS_STANDARD)"; 181 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 182 | CLANG_CXX_LIBRARY = "libc++"; 183 | CLANG_ENABLE_MODULES = YES; 184 | CLANG_ENABLE_OBJC_ARC = YES; 185 | CLANG_WARN_BOOL_CONVERSION = YES; 186 | CLANG_WARN_CONSTANT_CONVERSION = YES; 187 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 188 | CLANG_WARN_EMPTY_BODY = YES; 189 | CLANG_WARN_ENUM_CONVERSION = YES; 190 | CLANG_WARN_INT_CONVERSION = YES; 191 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 192 | CLANG_WARN_UNREACHABLE_CODE = YES; 193 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 194 | COPY_PHASE_STRIP = NO; 195 | ENABLE_STRICT_OBJC_MSGSEND = YES; 196 | GCC_C_LANGUAGE_STANDARD = gnu99; 197 | GCC_DYNAMIC_NO_PIC = NO; 198 | GCC_NO_COMMON_BLOCKS = YES; 199 | GCC_OPTIMIZATION_LEVEL = 0; 200 | GCC_PREPROCESSOR_DEFINITIONS = ( 201 | "DEBUG=1", 202 | "$(inherited)", 203 | ); 204 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 205 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 206 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 207 | GCC_WARN_UNDECLARED_SELECTOR = YES; 208 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 209 | GCC_WARN_UNUSED_FUNCTION = YES; 210 | GCC_WARN_UNUSED_VARIABLE = YES; 211 | MTL_ENABLE_DEBUG_INFO = YES; 212 | ONLY_ACTIVE_ARCH = NO; 213 | }; 214 | name = Debug; 215 | }; 216 | 49C6C8111AF9595200A711F2 /* Release */ = { 217 | isa = XCBuildConfiguration; 218 | buildSettings = { 219 | ALWAYS_SEARCH_USER_PATHS = NO; 220 | ARCHS = "$(ARCHS_STANDARD)"; 221 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 222 | CLANG_CXX_LIBRARY = "libc++"; 223 | CLANG_ENABLE_MODULES = YES; 224 | CLANG_ENABLE_OBJC_ARC = YES; 225 | CLANG_WARN_BOOL_CONVERSION = YES; 226 | CLANG_WARN_CONSTANT_CONVERSION = YES; 227 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 228 | CLANG_WARN_EMPTY_BODY = YES; 229 | CLANG_WARN_ENUM_CONVERSION = YES; 230 | CLANG_WARN_INT_CONVERSION = YES; 231 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 232 | CLANG_WARN_UNREACHABLE_CODE = YES; 233 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 234 | COPY_PHASE_STRIP = NO; 235 | ENABLE_NS_ASSERTIONS = NO; 236 | ENABLE_STRICT_OBJC_MSGSEND = YES; 237 | GCC_C_LANGUAGE_STANDARD = gnu99; 238 | GCC_NO_COMMON_BLOCKS = YES; 239 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 240 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 241 | GCC_WARN_UNDECLARED_SELECTOR = YES; 242 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 243 | GCC_WARN_UNUSED_FUNCTION = YES; 244 | GCC_WARN_UNUSED_VARIABLE = YES; 245 | MTL_ENABLE_DEBUG_INFO = NO; 246 | }; 247 | name = Release; 248 | }; 249 | 49C6C8131AF9595200A711F2 /* Debug */ = { 250 | isa = XCBuildConfiguration; 251 | buildSettings = { 252 | COMBINE_HIDPI_IMAGES = YES; 253 | DEPLOYMENT_LOCATION = YES; 254 | DSTROOT = "$(HOME)"; 255 | INFOPLIST_FILE = PrettyPrintJSON/Info.plist; 256 | INSTALL_PATH = "/Library/Application Support/Developer/Shared/Xcode/Plug-ins"; 257 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 258 | MACOSX_DEPLOYMENT_TARGET = 10.10; 259 | PRODUCT_NAME = "$(TARGET_NAME)"; 260 | WRAPPER_EXTENSION = xcplugin; 261 | }; 262 | name = Debug; 263 | }; 264 | 49C6C8141AF9595200A711F2 /* Release */ = { 265 | isa = XCBuildConfiguration; 266 | buildSettings = { 267 | COMBINE_HIDPI_IMAGES = YES; 268 | DEPLOYMENT_LOCATION = YES; 269 | DSTROOT = "$(HOME)"; 270 | INFOPLIST_FILE = PrettyPrintJSON/Info.plist; 271 | INSTALL_PATH = "/Library/Application Support/Developer/Shared/Xcode/Plug-ins"; 272 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 273 | MACOSX_DEPLOYMENT_TARGET = 10.10; 274 | PRODUCT_NAME = "$(TARGET_NAME)"; 275 | WRAPPER_EXTENSION = xcplugin; 276 | }; 277 | name = Release; 278 | }; 279 | /* End XCBuildConfiguration section */ 280 | 281 | /* Begin XCConfigurationList section */ 282 | 49C6C7FC1AF9595200A711F2 /* Build configuration list for PBXProject "PrettyPrintJSON" */ = { 283 | isa = XCConfigurationList; 284 | buildConfigurations = ( 285 | 49C6C8101AF9595200A711F2 /* Debug */, 286 | 49C6C8111AF9595200A711F2 /* Release */, 287 | ); 288 | defaultConfigurationIsVisible = 0; 289 | defaultConfigurationName = Release; 290 | }; 291 | 49C6C8121AF9595200A711F2 /* Build configuration list for PBXNativeTarget "PrettyPrintJSON" */ = { 292 | isa = XCConfigurationList; 293 | buildConfigurations = ( 294 | 49C6C8131AF9595200A711F2 /* Debug */, 295 | 49C6C8141AF9595200A711F2 /* Release */, 296 | ); 297 | defaultConfigurationIsVisible = 0; 298 | defaultConfigurationName = Release; 299 | }; 300 | /* End XCConfigurationList section */ 301 | }; 302 | rootObject = 49C6C7F91AF9595200A711F2 /* Project object */; 303 | } 304 | -------------------------------------------------------------------------------- /PrettyPrintJSON.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PrettyPrintJSON.xcodeproj/project.xcworkspace/xcshareddata/PrettyPrintJSON.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 09A42C25-ED08-4A81-9F2C-21C4E6508706 9 | IDESourceControlProjectName 10 | project 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | EA18E683E51C1655FAA6FCFED020CF0325BD1EF9 14 | https://github.com/psobko/PrettyPrintJSON.git 15 | 16 | IDESourceControlProjectPath 17 | PrettyPrintJSON.xcodeproj/project.xcworkspace 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | EA18E683E51C1655FAA6FCFED020CF0325BD1EF9 21 | ../.. 22 | 23 | IDESourceControlProjectURL 24 | https://github.com/psobko/PrettyPrintJSON.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | EA18E683E51C1655FAA6FCFED020CF0325BD1EF9 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | EA18E683E51C1655FAA6FCFED020CF0325BD1EF9 36 | IDESourceControlWCCName 37 | PrettyPrintJSON 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /PrettyPrintJSON.xcodeproj/xcshareddata/xcschemes/PrettyPrintJSON.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 46 | 47 | 58 | 62 | 63 | 64 | 70 | 71 | 72 | 73 | 74 | 75 | 81 | 82 | 84 | 85 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /PrettyPrintJSON.xcodeproj/xcuserdata/psobko.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SuppressBuildableAutocreation 6 | 7 | 49C6C8001AF9595200A711F2 8 | 9 | primary 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /PrettyPrintJSON/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | ca.psobko.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | DVTPlugInCompatibilityUUIDs 26 | 27 | FEC992CC-CA4A-4CFD-8881-77300FCB848A 28 | C4A681B0-4A26-480E-93EC-1218098B9AA0 29 | A2E4D43F-41F4-4FB9-BB94-7177011C9AED 30 | AD68E85B-441B-4301-B564-A45E4919A6AD 31 | 63FC1C47-140D-42B0-BB4D-A10B2D225574 32 | 37B30044-3B14-46BA-ABAA-F01000C27B63 33 | 640F884E-CE55-4B40-87C0-8869546CAB7A 34 | 992275C1-432A-4CF7-B659-D84ED6D42D3F 35 | A16FF353-8441-459E-A50C-B071F53F51B7 36 | 9F75337B-21B4-4ADC-B558-F9CADF7073A7 37 | E969541F-E6F9-4D25-8158-72DC3545A6C6 38 | 8DC44374-2B35-4C57-A6FE-2AD66A36AAD9 39 | AABB7188-E14E-4433-AD3B-5CD791EAD9A3 40 | 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90 41 | 42 | LSMinimumSystemVersion 43 | $(MACOSX_DEPLOYMENT_TARGET) 44 | NSPrincipalClass 45 | PrettyPrintJSON 46 | XC4Compatible 47 | 48 | XCPluginHasUI 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /PrettyPrintJSON/PrettyPrintJSON.h: -------------------------------------------------------------------------------- 1 | // 2 | // PrettyPrintJSON.h 3 | // PrettyPrintJSON 4 | // 5 | // Created by psobko on 5/5/15. 6 | // Copyright (c) 2015 psobko. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface PrettyPrintJSON : NSObject 12 | 13 | + (instancetype)sharedPlugin; 14 | 15 | @property (nonatomic, strong, readonly) NSBundle* bundle; 16 | @end -------------------------------------------------------------------------------- /PrettyPrintJSON/PrettyPrintJSON.m: -------------------------------------------------------------------------------- 1 | // 2 | // PrettyPrintJSON.m 3 | // PrettyPrintJSON 4 | // 5 | // Created by psobko on 5/5/15. 6 | // Copyright (c) 2015 psobko. All rights reserved. 7 | // 8 | 9 | #import "PrettyPrintJSON.h" 10 | #import "IDEKit.h" 11 | 12 | static PrettyPrintJSON *sharedPlugin; 13 | 14 | @interface PrettyPrintJSON() 15 | 16 | @property (nonatomic, strong, readwrite) NSBundle *bundle; 17 | 18 | @end 19 | 20 | @implementation PrettyPrintJSON 21 | 22 | + (void)pluginDidLoad:(NSBundle *)plugin 23 | { 24 | static dispatch_once_t onceToken; 25 | NSString *currentApplicationName = [[NSBundle mainBundle] infoDictionary][@"CFBundleName"]; 26 | 27 | if ([currentApplicationName isEqual:@"Xcode"]) 28 | { 29 | dispatch_once(&onceToken, ^{ 30 | sharedPlugin = [[self alloc] initWithBundle:plugin]; 31 | }); 32 | } 33 | } 34 | 35 | #pragma mark - init 36 | 37 | + (instancetype)sharedPlugin 38 | { 39 | return sharedPlugin; 40 | } 41 | 42 | - (id)initWithBundle:(NSBundle *)plugin 43 | { 44 | if (self = [super init]) 45 | { 46 | self.bundle = plugin; 47 | NSMenuItem *menuItem = [[NSApp mainMenu] itemWithTitle:@"Edit"]; 48 | if (menuItem) 49 | { 50 | [[menuItem submenu] addItem:[NSMenuItem separatorItem]]; 51 | NSMenuItem *actionMenuItem = [[NSMenuItem alloc] initWithTitle:@"Pretty Print JSON" 52 | action:@selector(menuItemSelected) 53 | keyEquivalent:@""]; 54 | [actionMenuItem setTarget:self]; 55 | [actionMenuItem setKeyEquivalent:@"j"]; 56 | [actionMenuItem setKeyEquivalentModifierMask:NSControlKeyMask]; 57 | [[menuItem submenu] addItem:actionMenuItem]; 58 | } 59 | } 60 | return self; 61 | } 62 | 63 | - (void)menuItemSelected 64 | { 65 | for (NSWindow *window in [NSApp windows]) 66 | { 67 | NSView *contentView = window.contentView; 68 | IDEConsoleTextView *console = [self consoleViewInMainView:contentView]; 69 | NSRange range = [console selectedRange]; 70 | console.logMode = 1; 71 | [console insertText:[self prettyPrintedJSONForString:[console.string substringWithRange:range]]]; 72 | [console insertNewline:@""]; 73 | console.logMode = 0; 74 | } 75 | } 76 | 77 | - (IDEConsoleTextView *)consoleViewInMainView:(NSView *)mainView 78 | { 79 | for (NSView *childView in mainView.subviews) 80 | { 81 | if ([childView isKindOfClass:NSClassFromString(@"IDEConsoleTextView")]) 82 | { 83 | return (IDEConsoleTextView *)childView; 84 | } 85 | else 86 | { 87 | NSView *consoleView = [self consoleViewInMainView:childView]; 88 | if ([consoleView isKindOfClass:NSClassFromString(@"IDEConsoleTextView")]) 89 | { 90 | return (IDEConsoleTextView *)consoleView; 91 | } 92 | } 93 | } 94 | return nil; 95 | } 96 | 97 | -(NSString*)prettyPrintedJSONForString:(NSString *)uglyString 98 | { 99 | if(!uglyString) 100 | { 101 | return [NSString stringWithFormat:@"JSON Parse Error: No string selected"]; 102 | } 103 | 104 | NSError *error; 105 | id data = [NSJSONSerialization JSONObjectWithData:[uglyString dataUsingEncoding:NSUTF8StringEncoding] 106 | options:0 107 | error:&error]; 108 | 109 | if(error) 110 | { 111 | return [NSString stringWithFormat:@"JSON Parse Error: %@ %@", error.localizedDescription, [error.userInfo objectForKey:@"NSDebugDescription"]]; 112 | } 113 | 114 | NSData *jsonData = [NSJSONSerialization dataWithJSONObject:data 115 | options:(NSJSONWritingOptions)NSJSONWritingPrettyPrinted 116 | error:&error]; 117 | if(error) 118 | { 119 | return [NSString stringWithFormat:@"JSON Parse Error: %@ %@", error.localizedDescription, [error.userInfo objectForKey:@"NSDebugDescription"]]; 120 | } 121 | 122 | return (jsonData) ? [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding] : @"{}"; 123 | } 124 | 125 | - (void)dealloc 126 | { 127 | [[NSNotificationCenter defaultCenter] removeObserver:self]; 128 | } 129 | 130 | 131 | @end -------------------------------------------------------------------------------- /PrettyPrintJSON/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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | PrettyPrintJSON 2 | =============== 3 | 4 | An Xcode 5+ plugin to pretty print JSON from the console using `NSJSONSerialization`. 5 | 6 | ##Installation 7 | Build the plugin and restart Xcode. Like other plugins it will be located in `~/Library/Application Support/Developer/Shared/Xcode/Plug-ins`. 8 | 9 | ##Usage 10 | Highlight a JSON string in the console and use `Edit` > `Pretty Print JSON` or the keyboard shorcut `Ctrl` + `J`. If the string is correctly formatted it will be appended to the bottom of the console. In the event of a parsing error, a specitic error will be printed instead. 11 | 12 | This plugin uses the XCode plugin project template Copyright (c) 2013 Delisa Mason and contributors 13 | Get it at https://github.com/kattrali/Xcode5-Plugin-Template 14 | --------------------------------------------------------------------------------