ropevim icon indicating copy to clipboard operation
ropevim copied to clipboard

Cache all site-packages for RopeAutoImport

Open erikw opened this issue 8 years ago • 1 comments

Is it possible to cache all site-packages? I use many many modules daily and it would be awesome to be able to autoimport from all of them, without having to update the caching variable so often. I've tried

let g:ropevim_autoimport_modules = ["*"]

but that did not work. Thanks,

erikw avatar Oct 28 '16 13:10 erikw

I'm using this script now

https://github.com/erikw/dotfiles/blob/personal/bin/ropevim_gen_conf_from_requirements_files.sh

which is kind of silly. It has a static list of all standard python modules, then uses find(1) and grep(1) to get all included files from requirements*.txt files in my development folders, to generates a mega ropevim_autoimport_modules that can make me import everything :P.

erikw avatar Nov 21 '16 14:11 erikw