-
Notifications
You must be signed in to change notification settings - Fork 3
/
cbflog.xctxtmacro
70 lines (64 loc) · 1.74 KB
/
cbflog.xctxtmacro
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
68
69
70
(
{
Identifier = cbflog;
Name = CBFLog;
IsMenu = YES;
IncludeContexts = (
"xcode.lang.objc",
);
ExcludeContexts = (
"xcode.lang.string",
"xcode.lang.character",
"xcode.lang.comment",
"xcode.lang.c.preprocessor",
);
},
{
Identifier = "cbflog.debug";
BasedOn = objc;
IsMenuItem = YES;
Name = "Debug Statement";
TextString = "cbfDebug$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
CompletionPrefix = "dlog";
},
{
Identifier = "cbflog.info";
BasedOn = objc;
IsMenuItem = YES;
Name = "Info Statement";
TextString = "cbfInfo$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
CompletionPrefix = "ilog";
},
{
Identifier = "cbflog.notify";
BasedOn = objc;
IsMenuItem = YES;
Name = "Notify Statement";
TextString = "cbfNotify$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
CompletionPrefix = "nlog";
},
{
Identifier = "cbflog.warn";
BasedOn = objc;
IsMenuItem = YES;
Name = "Warning Statement";
TextString = "cbfWarning$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
CompletionPrefix = "wlog";
},
{
Identifier = "cbflog.error";
BasedOn = objc;
IsMenuItem = YES;
Name = "Error Statement";
TextString = "cbfError$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
CompletionPrefix = "elog";
},
{
Identifier = "cbflog.critical";
BasedOn = objc;
IsMenuItem = YES;
Name = "Critical Statement";
TextString = "cbfCritical$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
CompletionPrefix = "clog";
},
)