Anyone have any favorite Bundles for studying new code? I typically use a combination of ctags / vim, but I was hoping that TextMate had some magic to make things easier . . .
Let me know!
-Dave
David,
There is a ctags bundle in the official Bundle SVN database (you can get it using the GetBundle bundle). And a cscope bundle can be found here:
But as I was not really satisfied with those two guys, I created a new bundle exploiting cscope and ctags to create some commands useful for C/C++ codes (and maybe for some other languages): completion, jump to definition, jump back, find functions calling this function, etc.
If you are interested in this bundle, I can send it to you.
Best regards, Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart MSN: mathieu_godart@hotmail.com
ASIC Integration Manager Coolsand Technologies ___________________________________________
Le 26 mars 09 à 22:04, David Frascone a écrit :
Anyone have any favorite Bundles for studying new code? I typically use a combination of ctags / vim, but I was hoping that TextMate had some magic to make things easier . . .
Let me know!
-Dave
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Cool -- I would be interested. Is the ctags one for BSD ctags, or exuberant?
Also -- is this the best way? I had assumed that there would be some code browsing fu that I just did not know about.
-Dave
2009/3/27 Mathieu Godart mathieu@coolsand-tech.fr
David, There is a *ctags* bundle in the official Bundle SVN database (you can get it using the GetBundle bundle). And a *cscope* bundle can be found here:
But as I was not really satisfied with those two guys, I created a new bundle exploiting *cscope* and *ctags* to create some commands useful for C/C++ codes (and maybe for some other languages): completion, jump to definition, jump back, find functions calling this function, etc.
If you are interested in this bundle, I can send it to you.
Best regards, Mathieu
Mathieu Godart
Skype: mathieu_godart MSN: mathieu_godart@hotmail.com
ASIC Integration Manager Coolsand Technologies ___________________________________________
Le 26 mars 09 à 22:04, David Frascone a écrit :
Anyone have any favorite Bundles for studying new code? I typically use a combination of ctags / vim, but I was hoping that TextMate had some magic to make things easier . . .
Let me know!
-Dave
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
David,
It's gonna be based on exuberant. I will send it in a separate email.
Sorry, I made a mistake, the cscope bundle can be found here (cscope offers the cross reference info: which function calls this other function):
http://lists.macromates.com/textmate/2007-March/018668.html
I haven't found a better tool that cscope for C code. Once I tried to dive into the mysterious world of code explorer software, but I quickly gave up. Nothing is as good as a text editor and a tag program (maybe Doxygen can help a bit, especially for oo source code).
Best regards, Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart MSN: mathieu_godart@hotmail.com
ASIC Integration Manager Coolsand Technologies ___________________________________________
Le 27 mars 09 à 16:47, David Frascone a écrit :
Cool -- I would be interested.
Is the ctags one for BSD ctags, or exuberant?
Also -- is this the best way? I had assumed that there would be some code browsing fu that I just did not know about.
-Dave
2009/3/27 Mathieu Godart mathieu@coolsand-tech.fr David,
There is a ctags bundle in the official Bundle SVN database (you can get it using the GetBundle bundle). And a cscope bundle can be found here:
But as I was not really satisfied with those two guys, I created a new bundle exploiting cscope and ctags to create some commands useful for C/C++ codes (and maybe for some other languages): completion, jump to definition, jump back, find functions calling this function, etc.
If you are interested in this bundle, I can send it to you.
Best regards, Mathieu
Mathieu Godart
Skype: mathieu_godart MSN: mathieu_godart@hotmail.com
ASIC Integration Manager Coolsand Technologies ___________________________________________
Le 26 mars 09 à 22:04, David Frascone a écrit :
Anyone have any favorite Bundles for studying new code? I typically use a combination of ctags / vim, but I was hoping that TextMate had some magic to make things easier . . .
Let me know!
-Dave
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
2009/3/27 Mathieu Godart mathieu@coolsand-tech.fr
I haven't found a better tool that *cscope* for C code. Once I tried to dive into the mysterious world of code explorer software, but I quickly gave up. Nothing is as good as a text editor and a tag program (maybe Doxygen can help a bit, especially for oo source code).
I've had good luck with CBrowser and other html based code indexing tools -- they take the doxygen tags out too.
I'll have to try that as well . . .shame that textmate doesn't have anything native.
-Dave
Mathieu Godart wrote:
I haven't found a better tool that /cscope/ for C code. Once I tried to dive into the mysterious world of code explorer software, but I quickly gave up. Nothing is as good as a text editor and a tag program (maybe Doxygen can help a bit, especially for oo source code).
Many moons ago I found a C editor which parsed the code and generated a dynamic flowchart on-the-fly. The code and chart were displayed side-by-side. When you changed the code and the flowchart changed immediately. (You may also have been able to manipulate the flow chart and have it change the code; this was probably 10 years or so ago and my memory isn't what it used to be...) I didn't find it all that useful for writing new code, but it was fantastic for reverse-engineering old existing code. Unfortunately it was god-awful expensive, something like $1000 or more per seat. I couldn't justify that kind of cash, so I gave it up after the trial period.
If someone wanted to write a free code analyzer which produced a flowchart as a Visio or OmniGraffle diagram, I'd happily use it!
Dear Steve,
If someone wanted to write a free code analyzer which produced a flowchart as a Visio or OmniGraffle diagram, I'd happily use it!
Hehe! I would even be very happy to be a beta tester.
But, I think it could be doable with a little help from cscope, one or two drops of Graphviz and a lot of processing time. ;-)
Best regards, Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart MSN: mathieu_godart@hotmail.com
ASIC Integration Manager Coolsand Technologies ___________________________________________
Le 27 mars 09 à 18:18, Steve King a écrit :
Mathieu Godart wrote:
I haven't found a better tool that /cscope/ for C code. Once I tried to dive into the mysterious world of code explorer software, but I quickly gave up. Nothing is as good as a text editor and a tag program (maybe Doxygen can help a bit, especially for oo source code).
Many moons ago I found a C editor which parsed the code and generated a dynamic flowchart on-the-fly. The code and chart were displayed side-by-side. When you changed the code and the flowchart changed immediately. (You may also have been able to manipulate the flow chart and have it change the code; this was probably 10 years or so ago and my memory isn't what it used to be...) I didn't find it all that useful for writing new code, but it was fantastic for reverse-engineering old existing code. Unfortunately it was god-awful expensive, something like $1000 or more per seat. I couldn't justify that kind of cash, so I gave it up after the trial period.
If someone wanted to write a free code analyzer which produced a flowchart as a Visio or OmniGraffle diagram, I'd happily use it!
-- Steve King Sr. Software Engineer Arbor Networks +1 734 821 1461 www.arbornetworks.com http://www.arbornetworks.com/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Mathieu Godart wrote:
If someone wanted to write a free code analyzer which produced a flowchart as a Visio or OmniGraffle diagram, I'd happily use it!
Hehe! I would even be very happy to be a beta tester.
But, I think it could be doable with a little help from cscope, one or two drops of Graphviz and a lot of processing time. ;-)
You could certainly do a call tree that way, but I don't think cscope gives enough information to actually do a flowchart. Feel free to prove me wrong, though!
Yeah, I'd accept either DOT or SVG output in lieu of OmniGraffle. I'm easy. :-)