I have been a long time emacs user and recently discovered TextMate.
One of the things I am missing is a "convenient" code navigation tool,
a la cscope (find from where a function is called, where the
definition of a function is, ...)
Maybe there is a built-in/standard way for doing such a thing in
TextMate, but didn't find it.
I just wrote the first version of a Cscope bundle that :
1. automatically builds a cscope index for files in a project
(including projects imported from Xcode) ;
2. allows to find from where a function is called (mapped to Ctrl-C)
3. allows to find where a function is defined (Ctrl-F)
Since I am very new to TextMate, I am sure I broke some conventions:
comments / ideas for enhancements are welcome.
You can download it from here:
http://www.box.net/shared/lt1u4tiuj7
Thanks,
Sacha
On 3/29/07, Ollivier Robert <roberto+textmate(a)keltia.freenix.fr> wrote:
> That's what revision control is all about you know :)
>
> I do the same with RadiantCMS, ruby 1.9 and a bunch of other utilities. My
> VCS of choice is Mercurial (http://selenic.com/mercurial) but that should
> not matter much :)
Since you bring it up - what VCS are people using on OS X? Is there
anything that integrates nicely with TM?
I posted the following to MacResearch, with no luck, but I'm hoping
there are some Textmate users that might be able to help me:
Does anyone have any experience sending data to Igor Pro from python?
I'm looking for a way to interface python to Igor Pro. I am using
TextMate to write python code that writes a data file. I manually
open the file with Igor Pro, set up a plot and then, when I re-run
the python script to make a different data file, I want to send an
instruction from python to igor to reload a data file, and that way
Igor will automatically
replot a graph. Apparently one can control Igor Pro via applescript
(which I haven't learned yet), and there is a python package called
appscript (http://appscript.sourceforge.net/) that can mimic
applescript. So,
1) does anyone have a sample applescript that can tell Igor Pro to
load a data file?
2) does anyone have an "appscript" (http://
appscript.sourceforge.net/) that would achieve the same end?
-paul
________________________________
Dept. of Physics
University of Southern Maine
http://www.usm.maine.edu/~pauln
Hello,
is it possible to insert a ctrl-L (new page) into the current buffer?
And is it possible to make this visible? And can I even use some key
to behave as 'go to the next/previous page'?
Patrick
Hi All,
There are quite a few blog experienced folks here so I hope you
excuse the OTness:
Recently Wordpress has been buffing me: Security issues requiring
immediate updates, too much manual labor for updates (especially if
you maintain multiple blogs for multiple users on your linux server),
upsurge of spam that can't even be stopped by disabling comments...
Are there alternatives that address the above issues?
Thanks
Gerd
I'm working on a Latex document that uses a lot of complex sub- and
superscripts,
so I wrote a little snippet
_{$1}
which is activated by the underscore key (and the corresponding thing for ^,
of course).
I use this a *lot*, and it has saved my brain a lot of confusion, and my
right little finger
a lot of wear and tear. But it also has a benefit that I wasn't expecting:
when I've finished
typing the subscript, I can just press tab to escape from the braces, and
continue with
the rest of the expression.
I find that invaluable, and I've started to get frustrated that the same
thing doesn't work
with ordinary auto-completed braces, parentheses, etc. Of course I could
write a snippet
{${1:$TM_SELECTED_TEXT}}
and bind it to the { key, but then you don't get the nice feature that
deleting the opening
brace will delete the closer as well. It would be nice to have the best of
both worlds. How
about making it possible to tab out of *all* auto-paired thingies, in the
way that you can
from a snippet?
Robin
TeX flags errors by a line that starts with "! "; but the LaTeX Log format
doesn't treat them as anything special so there's no way to make them stand
out. Could we change the invalid.illegal definition to the following
{ name = 'invalid.illegal';
match = '.*Error|^! .*';
},
or something along those lines? And while I'm on the subject, the
firstLineMatch seems rather restrictive. Could it be generalised to:
firstLineMatch = 'This is (pdfe)?TeXk?, Version ';
since not everyone uses non-standard extensions (the 'k' suffix) nor even
PDFTeX?
Robin
Hi,
I'd like to put my ruby/shell scripts for my bundle on the harddrive.
Where should I store them? I'd like to have a place like
mybundle.tmbundle/bin
But then how would I access the script? Any pre-defined variable for
that location, such as $TM_CURRENT_BUNDLE?
Patrick
Guten Tag!
Ich bin heute per E-Mail nicht erreichbar. In dringenden Fällen erreichen Sie mich unter der unten aufgeführten Telefonnummer.
Mit freundlichen Grüssen
Boris Tschernach. Diplom der Filmakademie BW
-
BTism Mediendesign
Alexander Bücken. Boris Tschernach GbR
Koblenzer Straße 81. 50968 Köln
-
Fon 0221 93119822. Fax 0221 93119823
http://www.BTism.de. Tschernach(a)BTism.de
-
Hi,
I have a bundle that I'd like to store in a subversion repository. As
I can see, there is a folder 'Pristine Copy' and a folder 'Bundles'.
What is the best practice if I'd link to have all new commands added
to the repository without moving them around?
Patrick