Permalink
Browse files

Merge pull request #78 from fson/octave-repl

Add Octave REPL
  • Loading branch information...
2 parents 7485533 + 2f272f7 commit f9122552788fc4f7ca4143610d3828c56144d789 @wuub wuub committed Sep 20, 2012
Showing with 37 additions and 0 deletions.
  1. +10 −0 config/Octave/Default.sublime-commands
  2. +27 −0 config/Octave/Main.sublime-menu
@@ -0,0 +1,10 @@
+[
+ {
+ "caption": "SublimeREPL: Octave",
+ "command": "run_existing_window_command", "args":
+ {
+ "id": "repl_octave",
+ "file": "config/Octave/Main.sublime-menu"
+ }
+ }
+]
@@ -0,0 +1,27 @@
+[
+ {
+ "id": "tools",
+ "children":
+ [{
+ "caption": "SublimeREPL",
+ "mnemonic": "r",
+ "id": "SublimeREPL",
+ "children":
+ [
+ {"command": "repl_open",
+ "caption": "Octave",
+ "id": "repl_octave",
+ "mnemonic": "o",
+ "args": {
+ "type": "subprocess",
+ "encoding": "utf8",
+ "cmd": ["octave", "-i"],
+ "cwd": "$file_path",
+ "external_id": "octave",
+ "syntax": "Packages/Matlab/Matlab.tmLanguage"
+ }
+ }
+ ]
+ }]
+ }
+]

0 comments on commit f912255

Please sign in to comment.