pappasam / coc-jedi

coc.nvim wrapper for https://github.com/pappasam/jedi-language-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically adding `import` when typing `from`

btjanaka opened this issue · comments

Hi! I recently switched to using coc and coc-jedi from jedi-vim, and I am really enjoying it. One small feature that I liked in jedi-vim was that when I used a from import, e.g.,

from numpy

jedi-vim would automatically type import after I hit space, i.e.

from numpy import

I am wondering if such a feature already exists in coc-jedi, or if there is some way for me to add it in my vimrc. Thank you!