Add jump-to-definition
Is plant add go definition?Thanks~
Do you mean jump-to-definition? It's bound to ctrl-. by default but at the moment it is only supported in clj/cljs.
Yes,I mean jump-to-definition.Hope to support Python.
We can use (https://github.com/davidhalter/jedi) for python and tern ( http://ternjs.net/) for js. We just need to implement async autocompletion first. Shouldn't be too hard.
On 10 January 2014 03:02, fishg [email protected] wrote:
Yes,I mean jump-to-definition.Hope to support Python.
— Reply to this email directly or view it on GitHubhttps://github.com/LightTable/Python/issues/1#issuecomment-31999096 .
apparently, since we're already using IPython anyway, we maybe could use IPython's autocomplete within LT, like so
import rlcompleter, readline
readline.parse_and_bind('tab:complete')
Also, there's IPython.core.completer
Is there anybody already implementing async autocompletion? Seems to be most hard part for me (and others just digging into LT's thread/thread* | background macro kitchen) and very useful for implementing interaction of other languages.
I just found a vim plugin which offers python autocompletion in vim via IPython, so it's possible from a technical standpoint: https://github.com/ivanov/vim-ipython
We don't have bandwidth to take this on but happy to take pull requests. For someone interested in implementing this, these are the relevant behaviors from the Clojure plugin.