Repository navigation
Expand file tree
/
Copy pathCPXcodeWrapper.h
More file actions
67 lines (57 loc) · 2.91 KB
/
Copy pathCPXcodeWrapper.h
File metadata and controls
67 lines (57 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//
// CPXcodeWrapper.h
// CodePilot
//
// Created by Zbigniew Sobiecki on 2/9/10.
// Copyright 2010 Macoscope. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "CPCodePilotConfig.h"
@class CPFileReference, CPSymbol, CPWorkspaceSymbolCache, CPResult;
@interface CPXcodeWrapper : NSObject
@property (nonatomic, strong) NSMutableArray *currentlyIndexedWorkspaces;
@property (nonatomic, strong) NSMutableArray *workspaceSymbolCaches;
@property (nonatomic, assign) BOOL symbolCachingInProgress;
- (void)reloadAfterPreferencesChange;
- (void)reloadXcodeState;
- (BOOL)hasOpenWorkspace;
- (NSScreen *)currentScreen;
- (BOOL)currentProjectIsIndexing;
- (void)openFileOrSymbol:(id)fileOrSymbol;
- (void)openCPSymbol:(CPSymbol *)symbol;
- (void)openCPFileReference:(CPFileReference *)cpFileReference;
- (NSString *)currentProjectName;
- (NSString *)normalizedQueryForQuery:(NSString *)query;
- (NSArray *)contentsForQuery:(NSString *)query fromResult:(CPResult *)result;
- (NSArray *)filesAndSymbolsFromProjectForQuery:(NSString *)query;
- (NSArray *)recentlyVisited;
- (NSString *)currentSelectionSymbolString;
+ (NSArray *)symbolsForProject:(id)pbxProject;
- (NSArray *)cpFileReferencesMatchingQuery:(NSString *)query;
- (NSArray *)topLevelCPSymbolsMatchingQuery:(NSString *)query;
- (NSArray *)arrayOfCPFileReferencesByWrappingXcodeFileReferences:(NSArray *)xcodeFileReferences;
- (id)pbxFileReferenceForCPFileReference:(CPFileReference *)cpFileReference;
- (NSArray *)cpSymbolsFromFile:(CPFileReference *)fileObject matchingQuery:(NSString *)query;
- (NSArray *)arrayOfCPSymbolsByWrappingIDESymbols:(NSArray *)ideSymbols forCPFileReference:(CPFileReference *)fileObject;
- (NSArray *)recursiveChildrenOfPBXGroup:(PBXGroup *)pbxGroup;
- (NSArray *)flattenedProjectContents;
- (IDEWorkspace *)currentWorkspace;
- (IDEIndex *)currentIndex;
- (NSArray *)recursiveChildrenOfIDEIndexSymbol:(IDEIndexSymbol *)ideIndexSymbol;
- (NSArray *)allIDEIndexSymbolsFromCPFileReference:(CPFileReference *)fileReference;
- (IDEEditorContext *)currentEditorContext;
- (IDEWorkspaceDocument *)currentWorkspaceDocument;
- (NSArray *)arrayOfCPFileReferencesByWrappingFileURLs:(NSArray *)fileURLs;
- (IDEWorkspaceWindowController *)currentWorkspaceWindowController;
- (NSArray *)arrayOfCPFileReferencesByWrappingDVTFilePaths:(NSArray *)dvtFilePaths;
- (void)willIndexWorkspace:(NSNotification *)notification;
- (void)didIndexWorkspace:(NSNotification *)notification;
- (void)removeClosedWorkspacesFromCurrentlyIndexed;
- (NSArray *)allOpenedWorkspaces;
- (IDEWorkspace *)workspaceForIndex:(IDEIndex *)index;
- (void)updateWorkspaceSymbolCacheForWorkspace:(IDEWorkspace *)workspace;
- (CPWorkspaceSymbolCache *)workspaceSymbolCacheForWorkspace:(IDEWorkspace *)workspace;
- (void)updateWorkspaceSymbolCacheForWorkspace:(IDEWorkspace *)workspace withWorkspaceSymbolCache:(CPWorkspaceSymbolCache *)workspaceSymbolCache;
- (BOOL)isSymbolCachingInProgress;
- (NSArray *)recentlyVisitedFiles;
@end