JulianEberius / SublimeRope

ST2 only, use SublimePythonIDE with ST3: Adds Python completions and some IDE-like functions to Sublime Text 2, through the use of the Rope library
GNU General Public License v2.0
250 stars 26 forks source link

Missing modules in configuration file #44

Closed mobedigg closed 11 years ago

mobedigg commented 11 years ago

System: Win7 When I select "Regenarate Global Module Cache" I got error Missing modules in configuration file. With Regenerate Project Cache all ok.

DamnWidget commented 11 years ago

Did you add the "rope_autoimport_modules" list in settings section of your project file?

mobedigg commented 11 years ago

No, I didn't.

DamnWidget commented 11 years ago

That's the problem then. You should add the modules list in your project configuration file adding the settings section if it doesn't ezxists yet: "settings": { "rope_autoimportmodules": [ "twisted.", "numpy._", "libsaas.*" ... ] }

mobedigg commented 11 years ago

Yes, my mistake. You are right.

DamnWidget commented 11 years ago

Don't worry.

:+1:

JulianEberius commented 11 years ago

I love it when problems sort themselves out before I have to do anything ;-) Anyway, lesson learned: SublimeRope needs clearer documentation, and the different completion mechanisms and caches (PYTHONPATH-based, Module Cache, Global Module Cache) should be consolidated in both code and documentation.

Julian

DamnWidget commented 11 years ago

I agree with you @JulianEberius so I'm already working in a new Sphinx based WiKi. I will pull a request when done.

Greetings.