[TxMt] TextMate with C++ builds, and linking console output to project files

Matt Torok magicmat at gmail.com
Wed Mar 3 23:57:35 UTC 2010


I'm just getting started with TextMate and want to use it for C++
programming. I'm wondering if people can give me some pointers and tricks on
how to do that (other than the stuff in the C and other bundles, of course.)
Right now, all I'm really using is the syntax highlighting, auto-indent and
brace-matching. Everything else could be done in TextEdit.

One thing I specifically want to do is trigger my projects GNU 'make' script
and then have the output pipped into a TextMate window. Not that hard to
write a plugin for (though if anybody already has one, point me to it.)
However, the tricky part is that I want to link file names in the output to
files in TextMate in case the compiler spits an error at me. That means
either being able to click on something like "./includes/GUI/graphs.cpp:210"
and being taken to that file and line in TM, like a hyperlink, or having TM
put highlights/bookmarks/whatever directly at the line in question. Is this
at all possible?

I've searched Google and this list but I nothing has jumped out at me so far
(though the results are so long for "C++ textmate" that there may be
something buried there I'm not seeing.) If anybody can tell me how they use
TM for writing C++ projects using the GNU compiler tools (g++, make, GDB,
etc.) I'd really appreciate that.
-- 
-Matt T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20100303/1a634f16/attachment.html>


More information about the textmate mailing list