ycm-core / YouCompleteMe

A code-completion engine for Vim
http://ycm-core.github.io/YouCompleteMe/
GNU General Public License v3.0
25.44k stars 2.81k forks source link

Feature Request:Refactor for python. #3332

Closed serend1p1ty closed 5 years ago

serend1p1ty commented 5 years ago

YCM only support the refactor for java, javascript, and typescript now. image Now that YCM use jedi-vim(jedi-vim supports refactor), can it support refactor for python too?

bstaletic commented 5 years ago

First, YCM is using jedi, not jedi-vim. There are two problems with supporting this feature.

While we can work around the first issue, there's no way to do it for the second. Note that jedi-vim uses jedi too and thus has all these issues as well. Jedi-vim just doesn't consider this issues as important.

So I'm inclined to close this as we are aware that this is a missing functionality, but the means to provide it are broken and out of our control.

serend1p1ty commented 5 years ago

Thanks for your patient answering! I will think of another way.