Skip to content

Cache all site-packages for RopeAutoImport #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
erikw opened this issue Oct 28, 2016 · 1 comment
Open

Cache all site-packages for RopeAutoImport #57

erikw opened this issue Oct 28, 2016 · 1 comment

Comments

@erikw
Copy link

erikw commented Oct 28, 2016

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
Copy link
Author

erikw commented Nov 21, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants