[TxMt] Codesearch
Andrea Crotti
kerny404 at gmail.com
Fri Jan 2 14:50:45 UTC 2009
I made this little command to search for examples of programming libraries /
construct:
#!/usr/bin/env python
import webbrowser
from os import environ
lang = environ['TM_MODE'].lower()
QUERY="http://google.com/codesearch?q=" + environ['TM_CURRENT_WORD'] +
"++lang:" + lang
webbrowser.open_new(QUERY)
It works fine, do you see any possible "problem"?
Could I maybe use the browser integrated inside Textmate?? How to call it
directly?
Another little thing:
I read on the dev guide that I should modify directly bundles and the svn
diff to view my changes.
Actually I'm not doing like that but I have all my changes in the "normal"
directory.
How is better to do to propose changes or some new features to bundles
mainatainers?
Thanks
--
View this message in context: http://www.nabble.com/Codesearch-tp21252252p21252252.html
Sent from the textmate users mailing list archive at Nabble.com.
More information about the textmate
mailing list