Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipython console --profile julia #74

Open
ubuntu0 opened this issue Oct 22, 2013 · 2 comments
Open

ipython console --profile julia #74

ubuntu0 opened this issue Oct 22, 2013 · 2 comments
Assignees

Comments

@ubuntu0
Copy link

ubuntu0 commented Oct 22, 2013

Would ivanov/vim-ipython support "ipython console --profile julia"?
That is JuliaLang/IJulia.jl based on ipython.
If that is OK, vim-ipython would be an awesome feature for users of julia with IDE vim.

@ghost ghost assigned ivanov Oct 24, 2013
@ivanov
Copy link
Owner

ivanov commented Oct 24, 2013

there are a few python-isms inside vim-ipython (getting a handle on the PID for sending keyboard interrupt, for example, assumes that the kernel is a Python kernel), but most of the protocol that vim-ipython uses is agnostic to what the kernel is, so it should mostly work for doing completion and sending input and getting output out of it.

I'll work on this today to make it cleaner and play with IJulia a bit more

@ivanov
Copy link
Owner

ivanov commented Nov 9, 2013

ok, just as an update: in vim-ipython, you can hook up to an IJulia instance by specifying the full path to the kernel .json file. So in vim, you type

:IPython /home/pi/.ipython/profile_julia/security/kernel-c40c8ce4-e152-4347-800f-cf79b35b64b9.json

You'll see an error that's related to the current assumption that the kernel is running python code, but sending new code to IJulia will work the same as it does sending it to IPython

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants