jorgenschaefer / elpy

Emacs Python Development Environment
GNU General Public License v3.0
1.9k stars 262 forks source link

No completions for pyspark #725

Open vspinu opened 8 years ago

vspinu commented 8 years ago

I am running a modified python environment pyspark and I just started using elpy.

Unfortunately company completions are not working (elpy-rpc-get-completions returns nil). But company completion works in the inferior due to company-capf doing a pretty good job there.

I wonder if a simple wrapper around python-shell-completion-at-point cold be made available in source buffers as a fallback for such situations?

jorgenschaefer commented 8 years ago

That's a good idea, actually. company-capf requires modules to be loaded in the shell, but as that's a regular situation, this would be a slightly better fallback than the default occur-based one.

Thanks for the idea!