import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')
[ { "caption": "SublimeREPL: Julia", "command": "run_existing_window_command", "args": { "id": "repl_julia", "file": "config/Julia/Main.sublime-menu" } }][ { "id": "tools", "children": [{ "caption": "SublimeREPL", "mnemonic": "r", "id": "SublimeREPL", "children": [ {"command": "repl_open", "caption": "Julia", "id": "repl_julia", "mnemonic": "s", "args": { "type": "subprocess", "suppress_echo": false, "external_id": "julia", "cmd": {"windows": ["C:/Users/quinnj/Documents/Julia/julia0.1-3c8b901b59-WINNT-i686/julia-3c8b901b59/julia - Copy.bat"], "linux": [], "osx": []}, "cwd": "$file_path", "cmd_postfix": "\n", "env": {}, "encoding": {"windows": "$win_cmd_encoding", "linux": "utf-8", "osx": "utf-8"}, "syntax": "" } } ] }] }]
call "%JULIA_HOME%julia-release-readline.exe" %*
call "%JULIA_HOME%julia-release-basic.exe" %*
Hello,For the sake of completeness let me ask about linux. :)I just tried your tutorial on Linux, in my case I needed to put the files into following paths:/home/<username>/.config/sublime-text-2/Packages/SublimeREPL/config/Julia/Default.sublime-commands
/home/<username>/.config/sublime-text-2/Packages/SublimeREPL/config/Julia/Menu.sublime-menuAnd here is the contents:Default.sublime-commands
[{"caption": "SublimeREPL: Julia","command": "run_existing_window_command", "args":{"id": "repl_julia","file": "config/Julia/Main.sublime-menu"}}]
Menu.sublime-menu
[{"id": "tools","children":[{"caption": "SublimeREPL","mnemonic": "r","id": "SublimeREPL","children":[{"command": "repl_open","caption": "Julia","id": "repl_julia","mnemonic": "s","args": {"type": "subprocess",
"encoding": "utf-8","cmd": "/home/ceyhun/Applications/julia/usr/bin/julia-release-basic",
"cwd": "$file_path","external_id": "julia",
"syntax": "Packages/Julia/Julia.tmLanguage","suppress_echo": false,"cmd_postfix": "\n","env": {}}}]}]}]Even though I can see an item in ctrl+shift+p as "SublimeREPL: Julia", nothing happens when I select it. Also there is no menu item for Julia in the list of available REPLs. And yes I retried restarting.Can I see what is wrong with what I am doing?Thanks.Ceyhun
It also works great in OS X with the installer for Julia adding the path:
/Applications/Julia.app/Contents/Resources/julia/bin/