Permalink
Browse files

Merge pull request #74 from mbauman/matlab_repl

Add a Matlab subprocess-type REPL
  • Loading branch information...
2 parents 539d0bb + 1e0bf3e commit 667dd6b8ad76ff66d3cb93367101e1533edf73f9 @wuub wuub committed Sep 16, 2012
Showing with 37 additions and 0 deletions.
  1. +10 −0 config/Matlab/Default.sublime-commands
  2. +27 −0 config/Matlab/Main.sublime-menu
View
10 config/Matlab/Default.sublime-commands
@@ -0,0 +1,10 @@
+[
+ {
+ "caption": "SublimeREPL: Matlab",
+ "command": "run_existing_window_command", "args":
+ {
+ "id": "repl_matlab",
+ "file": "config/Matlab/Main.sublime-menu"
+ }
+ }
+]
View
27 config/Matlab/Main.sublime-menu
@@ -0,0 +1,27 @@
+[
+ {
+ "id": "tools",
+ "children":
+ [{
+ "caption": "SublimeREPL",
+ "mnemonic": "r",
+ "id": "SublimeREPL",
+ "children":
+ [
+ {"command": "repl_open",
+ "caption": "Matlab",
+ "id": "repl_matlab",
+ "mnemonic": "m",
+ "args": {
+ "type": "subprocess",
+ "encoding": "utf8",
+ "cmd": ["matlab", "-nodesktop","-nosplash"],
+ "cwd": "$file_path",
+ "external_id": "matlab",
+ "syntax": "Packages/Matlab/Matlab.tmLanguage"
+ }
+ }
+ ]
+ }]
+ }
+]

0 comments on commit 667dd6b

Please sign in to comment.