PDA

View Full Version : code browsing in MAC




cjjoy1980
Apr 18, 2011, 02:16 AM
Hi all,
I am a developer and new to mac.. I have been using cscope , ctags and kscope for code browsing on my ubuntu system..

On mac I see only ctags installed.. is there cscope for mac or opensource GUI application for mac ..



jiminaus
Apr 18, 2011, 03:04 AM
cscope can be installed via MacPorts (http://www.macports.org/).

MacOS X comes with the BSD version of ctags. You can install Exuberant Ctags, which you're probably more familiar with, from MacPorts as well.

Most coding is done in Objective-C using XCode on Mac OS X. XCode also supports C and C++ development as well.

There's also Eclipse (http://www.eclipse.org/) or Netbeans ( www.netbeans.org).

If you don't want a full on IDE, there's Text Wrangler (http://www.barebones.com/products/textwrangler/), which is pretty popular with programmers.

Personally I use TextMate (http://macromates.com/), when I'm not using MacVim (also installable via MacPorts). If you're from the Emacs school, there's Aquamacs (http://aquamacs.org/). Or course, Terminal versions of both vim and emacs are preinstalled.

cjjoy1980
Apr 19, 2011, 12:12 AM
Thanks jiminaus.. that info really helped me..

Cromulent
Apr 19, 2011, 05:40 AM
Everything that was said above is correct but I would suggest using Homebrew (https://github.com/mxcl/homebrew) instead of MacPorts.

ScoobyMcDoo
Apr 19, 2011, 10:17 AM
Everything that was said above is correct but I would suggest using Homebrew (https://github.com/mxcl/homebrew) instead of MacPorts.

I started with Fink, then switched to macports because it seemed to have more recent ports. What is the advantage of homebrew over macports?

subsonix
Apr 19, 2011, 10:38 AM
I started with Fink, then switched to macports because it seemed to have more recent ports. What is the advantage of homebrew over macports?

It doesn't download and compile packages and tools already present on the system. This makes it smaller and faster, but less robust, since an update from apple could potentially break dependencies. Macports is self contained in the /opt folder.