Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Does X Code have a Code Outline View?

623 views
Skip to first unread message

Mike Cohen

unread,
Aug 6, 2008, 11:15:46 PM8/6/08
to
Hi All,

Just learning how to use Xcode 3.0

Im working on some Unix Command line tools in C and I'd like to get a
listing of all the functions in my project, a la the eclipse outline
view, so that I can easily navigate between functions regardless of
source file.

Im not a big fan of using code bookmarks. I see a class browser, which
looks somewhat similar to what I want, but I'd like to use it with C.

Im coming from Kdevelop and Eclipse which display this view by
default.

Is there a way to get this type of view in Xcode?


Thanks,

M.C.

Fritz Anderson

unread,
Aug 7, 2008, 11:07:24 AM8/7/08
to
On Aug 6, 10:15 pm, Mike Cohen <MCAntr...@gmail.com> wrote:
> Im working on some Unix Command line tools in C and I'd like to get a
> listing of all the functions in my project, a la the eclipse outline
> view, so that I can easily navigate between functions regardless of
> source file.
>
> Im not a big fan of using code bookmarks. I see a class browser, which
> looks somewhat similar to what I want, but I'd like to use it with C.

You can get most of the way there. Near the bottom of the Groups &
Files list, click on the blue cube labeled Project Symbols. The Detail
list at the upper right of the window will fill with every symbol in
your project, including function names, but also #defines, globals,
statics, etc. Clicking on one of these fills the editor pane (click
the Editor button in the toolbar if it isn't visible) with the
definition of the symbol.

You can search the list by typing in the search field in the toolbar.
The magnifying-glass popup menu allows you to restrict the search
criterion to Symbol, Kind, or Location.

If you use this feature a lot, you can drag the Project Symbols icon
to the top of the Groups & Files list; or View > Layout > Show
Favorites Bar, and drag the icon into the Favorites Bar at the top of
the window.

Plug: This is in my new book, "Xcode 3 Unleashed."

-- F

0 new messages