File tree 4 files changed +43
-10
lines changed
4 files changed +43
-10
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ html_footer "Done."</string>
29
29
<key >inputFormat </key >
30
30
<string >text </string >
31
31
<key >keyEquivalent </key >
32
- <string >@r </string >
32
+ <string >@b </string >
33
33
<key >name </key >
34
34
<string >Compile and Run </string >
35
35
<key >outputCaret </key >
Original file line number Diff line number Diff line change 5
5
<key >beforeRunningCommand </key >
6
6
<string >nop </string >
7
7
<key >command </key >
8
- <string >export SHELL_NAME=${SHELL_NAME:="Textmate Scala REPL"}
8
+ <string >#!/usr/bin/env bash
9
+ [[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
10
+
11
+ export SHELL_NAME=${SHELL_NAME:="Textmate Scala REPL"}
9
12
export CMD=${CMD:="scala"}
10
13
"$TM_BUNDLE_SUPPORT/scala_repl.sh" </string >
11
14
<key >input </key >
12
15
<string >none </string >
16
+ <key >inputFormat </key >
17
+ <string >text </string >
13
18
<key >keyEquivalent </key >
14
- <string >@r </string >
19
+ <string >@R </string >
15
20
<key >name </key >
16
21
<string >Scala REPL </string >
17
- <key >output </key >
22
+ <key >outputCaret </key >
23
+ <string >afterOutput </string >
24
+ <key >outputFormat </key >
25
+ <string >text </string >
26
+ <key >outputLocation </key >
18
27
<string >discard </string >
19
28
<key >scope </key >
20
29
<string >source.scala </string >
21
30
<key >uuid </key >
22
31
<string >BCAA9E11-45C8-43C7-8B43-E680AD7F6165 </string >
32
+ <key >version </key >
33
+ <integer >2 </integer >
23
34
</dict >
24
35
</plist >
Original file line number Diff line number Diff line change 5
5
<key >beforeRunningCommand </key >
6
6
<string >nop </string >
7
7
<key >command </key >
8
- <string >SHELL_NAME=${SHELL_NAME:="Textmate Scala REPL"}
8
+ <string >#!/usr/bin/env bash
9
+ [[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
10
+
11
+ SHELL_NAME=${SHELL_NAME:="Textmate Scala REPL"}
9
12
PASTE=$(echo "$TM_SELECTED_TEXT" | sed s/\"/\\\\\"/g)
10
13
osascript << END
11
14
tell application "Terminal"
@@ -15,15 +18,23 @@ end tell
15
18
END </string >
16
19
<key >input </key >
17
20
<string >none </string >
21
+ <key >inputFormat </key >
22
+ <string >text </string >
18
23
<key >keyEquivalent </key >
19
- <string >@r </string >
24
+ <string >@R </string >
20
25
<key >name </key >
21
26
<string >Scala REPL: Paste selection </string >
22
- <key >output </key >
27
+ <key >outputCaret </key >
28
+ <string >afterOutput </string >
29
+ <key >outputFormat </key >
30
+ <string >text </string >
31
+ <key >outputLocation </key >
23
32
<string >discard </string >
24
33
<key >scope </key >
25
34
<string >source.scala </string >
26
35
<key >uuid </key >
27
36
<string >7F176B4F-5D0E-459A-8042-A459B41051A8 </string >
37
+ <key >version </key >
38
+ <integer >2 </integer >
28
39
</dict >
29
40
</plist >
Original file line number Diff line number Diff line change 5
5
<key >beforeRunningCommand </key >
6
6
<string >nop </string >
7
7
<key >command </key >
8
- <string >export SHELL_NAME=${SHELL_NAME:="Textmate Scala REPL"}
8
+ <string >#!/usr/bin/env bash
9
+ [[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
10
+
11
+ export SHELL_NAME=${SHELL_NAME:="Textmate Scala REPL"}
9
12
export CMD=${CMD:="scala -i $TM_FILEPATH"}
10
13
"$TM_BUNDLE_SUPPORT/scala_repl.sh"
11
14
12
15
</string >
13
16
<key >input </key >
14
17
<string >none </string >
18
+ <key >inputFormat </key >
19
+ <string >text </string >
15
20
<key >keyEquivalent </key >
16
- <string >@r </string >
21
+ <string >@R </string >
17
22
<key >name </key >
18
23
<string >Scala REPL: Preload file </string >
19
- <key >output </key >
24
+ <key >outputCaret </key >
25
+ <string >afterOutput </string >
26
+ <key >outputFormat </key >
27
+ <string >text </string >
28
+ <key >outputLocation </key >
20
29
<string >discard </string >
21
30
<key >scope </key >
22
31
<string >source.scala </string >
23
32
<key >uuid </key >
24
33
<string >45A658D8-D64D-4810-B7DD-762AC3EFD8CF </string >
34
+ <key >version </key >
35
+ <integer >2 </integer >
25
36
</dict >
26
37
</plist >
You can’t perform that action at this time.
0 commit comments