pysmell - Python auto-complete - works with TextMate too!


One of the reasons that kept me away (sigh) from TextMate is the lack of autocompletion support.. especially in Python. Seems like those days have ended - I just downloaded and installed Pysmell, and it works great!!!

The instructions are very clear, you install it, dbl click the TextMate bundle file and you're already half way through. Just remember that you always need to generate a a PYSMELLTAGS file from your project, and put it at the root level so that TextMate finds it:

cd /root/of/project pysmell .

For example, I wanted to add the django package to my 'tags' library:

[mac]@ego:/Library/Python/2.5/site-packages/django>pysmell . -o ~/PYSMELLTAGS.djangolib

And generate tags for the standard Python lib:

[mac]@ego:/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5>pysmell *.py -o ~/PYSMELLTAGS.stndlib

Then I just moved these files to the root of my python project.. and it magically works!

picture-22

>>>

At first sight, the main drawbacks seem to be:

1) the 'tags' file you generate needs to be put into the project directory, not really handy if you have multiple projects.. (or if you say - update a library)

2) it may be slow (of course, depending on the size of the TAGS file you generate)

However - it's great stuff, can't wait to test it further!!!!

Cite this blog post:


Michele Pasin. pysmell - Python auto-complete - works with TextMate too!. Blog post on www.michelepasin.org. Published on Feb. 15, 2009.

Comments via Github:


See also:

2017


paper  Data integration and disintegration: Managing Springer Nature SciGraph with SHACL and OWL

Industry Track, International Semantic Web Conference (ISWC-17), Vienna, Austria, Oct 2017.



paper  Fitting Personal Interpretation with the Semantic Web: lessons learned from Pliny

Digital Humanities Quarterly, Jan 2017. Volume 11 Number 1


2007


paper  PhiloSURFical: browse Wittgensteinʼs Tractatus with the Semantic Web

Wittgenstein and the Philosophy of Information - Proceedings of the 30th International Ludwig Wittgenstein Symposium, Kirchberg, Austria, Aug 2007. pp. 319-335