问题
I am using SQLAlchemy
with Sublime Text2
and I did the following
from sqlalchemy import Column
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
# engine = create_engine('sqlite:///:memory:', echo=True)
class Transaction(Base):
__tablename__ = 'transaction'
id = Column()
I want Sublime to see my imports/site-packages and suggest me to import it like what IntelliJ IDEA and Eclipse does.
Does Sublime Text2 support this intelligence?
Thank you
回答1:
The Sublime CodeIntel plugin provides this functionality for you. Installation instructions at link.
来源:https://stackoverflow.com/questions/15301477/sublimetext2-how-do-i-include-some-method-class-and-have-sublime-suggest-it-to