Skip to content

Commit 053f8fd

Browse files
committed
Add release.
1 parent 9f73809 commit 053f8fd

27 files changed

+572
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Installation
2+
3+
- Download latest *Convert to Multi-Line Function* package from the [Releases](https://github.com/chrischute/xcode-multi-line-func/releases).
4+
- Copy *Convert to Multi-Line Function* to your *Applications* folder.
5+
- Launch *Convert to Multi-Line Function* once. You can close it immediately afterwards.
6+
- Go to <kbd>System Preferences</kbd> > <kbd>Extensions</kbd> > <kbd>Xcode Source Editor</kbd> > select <kbd>Convert to Multi-Line Function</kbd>
7+
8+
## Setting Hotkey in Xcode
9+
10+
- Open Xcode
11+
- Go to Xcode > Preferences > Key Bindings
12+
- Type *'convert to multi-line function'* in search field
13+
- Assign <kbd>⌃</kbd> + <kbd>⌘</kbd> + <kbd>N</kbd> to *Convert to Multi-Line Function* command
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>BuildMachineOSBuild</key>
6+
<string>18E226</string>
7+
<key>CFBundleDevelopmentRegion</key>
8+
<string>en</string>
9+
<key>CFBundleDisplayName</key>
10+
<string>Convert To Multi-Line Function</string>
11+
<key>CFBundleExecutable</key>
12+
<string>Convert to Multi-Line Function</string>
13+
<key>CFBundleIdentifier</key>
14+
<string>edu.stanford.cs193p.chute.Convert-to-Multi-Line-Function</string>
15+
<key>CFBundleInfoDictionaryVersion</key>
16+
<string>6.0</string>
17+
<key>CFBundleName</key>
18+
<string>Convert to Multi-Line Function</string>
19+
<key>CFBundlePackageType</key>
20+
<string>XPC!</string>
21+
<key>CFBundleShortVersionString</key>
22+
<string>1.0</string>
23+
<key>CFBundleSupportedPlatforms</key>
24+
<array>
25+
<string>MacOSX</string>
26+
</array>
27+
<key>CFBundleVersion</key>
28+
<string>1</string>
29+
<key>DTCompiler</key>
30+
<string>com.apple.compilers.llvm.clang.1_0</string>
31+
<key>DTPlatformBuild</key>
32+
<string>10E1001</string>
33+
<key>DTPlatformVersion</key>
34+
<string>GM</string>
35+
<key>DTSDKBuild</key>
36+
<string>18E219</string>
37+
<key>DTSDKName</key>
38+
<string>macosx10.14</string>
39+
<key>DTXcode</key>
40+
<string>1020</string>
41+
<key>DTXcodeBuild</key>
42+
<string>10E1001</string>
43+
<key>LSMinimumSystemVersion</key>
44+
<string>10.14</string>
45+
<key>NSExtension</key>
46+
<dict>
47+
<key>NSExtensionAttributes</key>
48+
<dict>
49+
<key>XCSourceEditorCommandDefinitions</key>
50+
<array>
51+
<dict>
52+
<key>XCSourceEditorCommandClassName</key>
53+
<string>Convert_to_Multi_Line_Function.ConvertToMultiLineFunction</string>
54+
<key>XCSourceEditorCommandIdentifier</key>
55+
<string>edu.stanford.cs193p.chute.Convert-to-Multi-Line-Function.ConvertToMultiLineFunction</string>
56+
<key>XCSourceEditorCommandName</key>
57+
<string>Convert to Multi-Line Function</string>
58+
</dict>
59+
</array>
60+
<key>XCSourceEditorExtensionPrincipalClass</key>
61+
<string>Convert_to_Multi_Line_Function.SourceEditorExtension</string>
62+
</dict>
63+
<key>NSExtensionPointIdentifier</key>
64+
<string>com.apple.dt.Xcode.extension.source-editor</string>
65+
</dict>
66+
<key>NSHumanReadableCopyright</key>
67+
<string>Copyright © 2019 chute. All rights reserved.</string>
68+
</dict>
69+
</plist>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
XPC!????
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>BuildMachineOSBuild</key>
6+
<string>18E226</string>
7+
<key>CFBundleDevelopmentRegion</key>
8+
<string>en</string>
9+
<key>CFBundleDisplayName</key>
10+
<string>Convert To Multi-Line Function</string>
11+
<key>CFBundleExecutable</key>
12+
<string>Convert To Multi-Line Function</string>
13+
<key>CFBundleIdentifier</key>
14+
<string>edu.stanford.cs193p.chute.Convert-to-Multi-Line-Function.Convert-To-Multi-Line-Function</string>
15+
<key>CFBundleInfoDictionaryVersion</key>
16+
<string>6.0</string>
17+
<key>CFBundleName</key>
18+
<string>Convert To Multi-Line Function</string>
19+
<key>CFBundlePackageType</key>
20+
<string>XPC!</string>
21+
<key>CFBundleShortVersionString</key>
22+
<string>1.0</string>
23+
<key>CFBundleSupportedPlatforms</key>
24+
<array>
25+
<string>MacOSX</string>
26+
</array>
27+
<key>CFBundleVersion</key>
28+
<string>1</string>
29+
<key>DTCompiler</key>
30+
<string>com.apple.compilers.llvm.clang.1_0</string>
31+
<key>DTPlatformBuild</key>
32+
<string>10E1001</string>
33+
<key>DTPlatformVersion</key>
34+
<string>GM</string>
35+
<key>DTSDKBuild</key>
36+
<string>18E219</string>
37+
<key>DTSDKName</key>
38+
<string>macosx10.14</string>
39+
<key>DTXcode</key>
40+
<string>1020</string>
41+
<key>DTXcodeBuild</key>
42+
<string>10E1001</string>
43+
<key>LSMinimumSystemVersion</key>
44+
<string>10.14</string>
45+
<key>NSExtension</key>
46+
<dict>
47+
<key>NSExtensionAttributes</key>
48+
<dict>
49+
<key>XCSourceEditorCommandDefinitions</key>
50+
<array>
51+
<dict>
52+
<key>XCSourceEditorCommandClassName</key>
53+
<string>Convert_To_Multi_Line_Function.ConvertToMultiLineFunction</string>
54+
<key>XCSourceEditorCommandIdentifier</key>
55+
<string>edu.stanford.cs193p.chute.Convert-to-Multi-Line-Function.Convert-To-Multi-Line-Function.ConvertToMultiLineFunction</string>
56+
<key>XCSourceEditorCommandName</key>
57+
<string>Convert to Multi-Line Function</string>
58+
</dict>
59+
</array>
60+
<key>XCSourceEditorExtensionPrincipalClass</key>
61+
<string>Convert_To_Multi_Line_Function.SourceEditorExtension</string>
62+
</dict>
63+
<key>NSExtensionPointIdentifier</key>
64+
<string>com.apple.dt.Xcode.extension.source-editor</string>
65+
</dict>
66+
<key>NSHumanReadableCopyright</key>
67+
<string>Copyright © 2019 chute. All rights reserved.</string>
68+
</dict>
69+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>files</key>
6+
<dict/>
7+
<key>files2</key>
8+
<dict/>
9+
<key>rules</key>
10+
<dict>
11+
<key>^Resources/</key>
12+
<true/>
13+
<key>^Resources/.*\.lproj/</key>
14+
<dict>
15+
<key>optional</key>
16+
<true/>
17+
<key>weight</key>
18+
<real>1000</real>
19+
</dict>
20+
<key>^Resources/.*\.lproj/locversion.plist$</key>
21+
<dict>
22+
<key>omit</key>
23+
<true/>
24+
<key>weight</key>
25+
<real>1100</real>
26+
</dict>
27+
<key>^Resources/Base\.lproj/</key>
28+
<dict>
29+
<key>weight</key>
30+
<real>1010</real>
31+
</dict>
32+
<key>^version.plist$</key>
33+
<true/>
34+
</dict>
35+
<key>rules2</key>
36+
<dict>
37+
<key>.*\.dSYM($|/)</key>
38+
<dict>
39+
<key>weight</key>
40+
<real>11</real>
41+
</dict>
42+
<key>^(.*/)?\.DS_Store$</key>
43+
<dict>
44+
<key>omit</key>
45+
<true/>
46+
<key>weight</key>
47+
<real>2000</real>
48+
</dict>
49+
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
50+
<dict>
51+
<key>nested</key>
52+
<true/>
53+
<key>weight</key>
54+
<real>10</real>
55+
</dict>
56+
<key>^.*</key>
57+
<true/>
58+
<key>^Info\.plist$</key>
59+
<dict>
60+
<key>omit</key>
61+
<true/>
62+
<key>weight</key>
63+
<real>20</real>
64+
</dict>
65+
<key>^PkgInfo$</key>
66+
<dict>
67+
<key>omit</key>
68+
<true/>
69+
<key>weight</key>
70+
<real>20</real>
71+
</dict>
72+
<key>^Resources/</key>
73+
<dict>
74+
<key>weight</key>
75+
<real>20</real>
76+
</dict>
77+
<key>^Resources/.*\.lproj/</key>
78+
<dict>
79+
<key>optional</key>
80+
<true/>
81+
<key>weight</key>
82+
<real>1000</real>
83+
</dict>
84+
<key>^Resources/.*\.lproj/locversion.plist$</key>
85+
<dict>
86+
<key>omit</key>
87+
<true/>
88+
<key>weight</key>
89+
<real>1100</real>
90+
</dict>
91+
<key>^Resources/Base\.lproj/</key>
92+
<dict>
93+
<key>weight</key>
94+
<real>1010</real>
95+
</dict>
96+
<key>^[^/]+$</key>
97+
<dict>
98+
<key>nested</key>
99+
<true/>
100+
<key>weight</key>
101+
<real>10</real>
102+
</dict>
103+
<key>^embedded\.provisionprofile$</key>
104+
<dict>
105+
<key>weight</key>
106+
<real>20</real>
107+
</dict>
108+
<key>^version\.plist$</key>
109+
<dict>
110+
<key>weight</key>
111+
<real>20</real>
112+
</dict>
113+
</dict>
114+
</dict>
115+
</plist>

0 commit comments

Comments
 (0)