Skip to content Skip to sidebar Skip to footer

Sublimetext2: Sublimecodeintel Doesn't Adds Import Even When It Suggests

I am trying to use SQLAlchemy with SublimeText2 and I do the following sequence Then I do and then so my code is from sqlalchemy.ext.declarative import declarative_base Base

Solution 1:

My understanding is that SublimeCodeIntel will parse the modules you have imported and make suggestions based on what you've imported. From their github page:

Imports autocomplete - Shows autocomplete with the available modules/symbols in real time.

I don't see anywhere in their documentation where they say it will automatically import modules for you nor have I ever found that functionality myself as I've used it in Sublime Text.

As a side note, using the PyDev plugin with either Aptana Studio or Eclipse gives you a lot of functionality with respect to imports and auto completion, among other things. Granted, you're now using a full blown IDE as opposed to a lightweight text editor, but there are certainly pros and cons to both.

Post a Comment for "Sublimetext2: Sublimecodeintel Doesn't Adds Import Even When It Suggests"