phi
phi

Reputation: 1543

How to get ctags to pick up functions in a .h file?

I am using Exuberant Ctags 5.7. I am trying to build a tag database for CGContext.h with:

tags /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h

The resulting tags file has no functions included in it. It only has 75 lines for types, and enums.

Upvotes: 0

Views: 867

Answers (1)

Randy Proctor
Randy Proctor

Reputation: 7544

You need to add --c-types=+p (now --c-kinds).

Upvotes: 5

Related Questions