Skip to content

Commit 649cbfb

Browse files
committed
added textmacros for xcode
1 parent 041440b commit 649cbfb

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

cbflog.xctxtmacro

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
(
2+
{
3+
Identifier = cbflog;
4+
Name = CBFLog;
5+
IsMenu = YES;
6+
IncludeContexts = (
7+
"xcode.lang.objc",
8+
);
9+
ExcludeContexts = (
10+
"xcode.lang.string",
11+
"xcode.lang.character",
12+
"xcode.lang.comment",
13+
"xcode.lang.c.preprocessor",
14+
);
15+
},
16+
17+
{
18+
Identifier = "cbflog.debug";
19+
BasedOn = objc;
20+
IsMenuItem = YES;
21+
Name = "Debug Statement";
22+
TextString = "cbfDebug$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
23+
CompletionPrefix = "dlog";
24+
},
25+
26+
{
27+
Identifier = "cbflog.info";
28+
BasedOn = objc;
29+
IsMenuItem = YES;
30+
Name = "Info Statement";
31+
TextString = "cbfInfo$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
32+
CompletionPrefix = "ilog";
33+
},
34+
35+
{
36+
Identifier = "cbflog.notify";
37+
BasedOn = objc;
38+
IsMenuItem = YES;
39+
Name = "Notify Statement";
40+
TextString = "cbfNotify$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
41+
CompletionPrefix = "nlog";
42+
},
43+
44+
{
45+
Identifier = "cbflog.warn";
46+
BasedOn = objc;
47+
IsMenuItem = YES;
48+
Name = "Warning Statement";
49+
TextString = "cbfWarning$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
50+
CompletionPrefix = "wlog";
51+
},
52+
53+
{
54+
Identifier = "cbflog.error";
55+
BasedOn = objc;
56+
IsMenuItem = YES;
57+
Name = "Error Statement";
58+
TextString = "cbfError$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
59+
CompletionPrefix = "elog";
60+
},
61+
62+
{
63+
Identifier = "cbflog.critical";
64+
BasedOn = objc;
65+
IsMenuItem = YES;
66+
Name = "Critical Statement";
67+
TextString = "cbfCritical$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@\"<#message#>\"$(InFunctionArgsSpacing));";
68+
CompletionPrefix = "clog";
69+
},
70+
)

0 commit comments

Comments
 (0)