mirror of
https://github.com/sstent/sublime-text-3.git
synced 2026-02-06 12:32:21 +00:00
backing up sublime settings
This commit is contained in:
18
Packages/SublimeREPL/config/Scala/Default.sublime-commands
Normal file
18
Packages/SublimeREPL/config/Scala/Default.sublime-commands
Normal file
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"caption": "SublimeREPL: Scala",
|
||||
"command": "run_existing_window_command", "args":
|
||||
{
|
||||
"id": "repl_scala",
|
||||
"file": "config/Scala/Main.sublime-menu"
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "SublimeREPL: SBT for opened folder",
|
||||
"command": "run_existing_window_command", "args":
|
||||
{
|
||||
"id": "repl_sbt",
|
||||
"file": "config/Scala/Main.sublime-menu"
|
||||
}
|
||||
}
|
||||
]
|
||||
61
Packages/SublimeREPL/config/Scala/Main.sublime-menu
Normal file
61
Packages/SublimeREPL/config/Scala/Main.sublime-menu
Normal file
@@ -0,0 +1,61 @@
|
||||
[
|
||||
{
|
||||
"id": "tools",
|
||||
"children":
|
||||
[{
|
||||
"caption": "SublimeREPL",
|
||||
"mnemonic": "r",
|
||||
"id": "SublimeREPL",
|
||||
"children":
|
||||
[
|
||||
{"caption": "Scala",
|
||||
"id": "Scala",
|
||||
|
||||
"children":[
|
||||
{"command": "repl_open",
|
||||
"caption": "scala REPL",
|
||||
"id": "repl_scala",
|
||||
"mnemonic": "s",
|
||||
"args": {
|
||||
"type": "subprocess",
|
||||
"encoding": "utf8",
|
||||
"external_id": "scala",
|
||||
"cmd": {"linux": ["scala"],
|
||||
"osx": ["scala"],
|
||||
"windows": ["scala.bat", "-i"]},
|
||||
"soft_quit": "\nexit\n",
|
||||
"cwd": "$file_path",
|
||||
"cmd_postfix": "\n",
|
||||
"extend_env": {"osx": {"EMACS": "1", "PATH": "{PATH}:/usr/local/bin"},
|
||||
"linux": {"EMACS": "1", "PATH": "{PATH}:/usr/local/bin"},
|
||||
"windows": {"EMACS": "1"}},
|
||||
"suppress_echo": false,
|
||||
"syntax": "Packages/Scala/Scala.tmLanguage"
|
||||
}
|
||||
},
|
||||
{"command": "repl_open",
|
||||
"caption": "SBT for opened folder",
|
||||
"id": "repl_sbt",
|
||||
"mnemonic": "b",
|
||||
"args": {
|
||||
"type": "subprocess",
|
||||
"encoding": "utf8",
|
||||
"external_id": "scala",
|
||||
"cmd": {"linux": ["sbt"],
|
||||
"osx": ["sbt"],
|
||||
"windows": ["sbt"]},
|
||||
"soft_quit": "\nexit\n",
|
||||
"cwd": "$folder",
|
||||
"cmd_postfix": "\n",
|
||||
"extend_env": {"osx": {"EMACS": "1", "PATH": "{PATH}:/usr/local/bin"},
|
||||
"linux": {"EMACS": "1", "PATH": "{PATH}:/usr/local/bin"},
|
||||
"windows": {"EMACS": "1"}},
|
||||
"suppress_echo": false,
|
||||
"syntax": "Packages/Scala/Scala.tmLanguage"
|
||||
}
|
||||
}
|
||||
]}
|
||||
]
|
||||
}]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user