I think you can remove some options, for example ctags -R --fields=+S /usr/include
from ctags manual: http://ctags.sourceforge.net/ctags.html "--extra=+q, --fields=+ia" is used to extract information about Class and Inheritance, which is useful for Object-Oriented programming languages like C++. For C, you don't need these. On Mon, Dec 20, 2010 at 7:37 PM, [email protected] <[email protected]>wrote: > Hello guys, > > Please help me with the following problem. I want to use Vim with > ctags to benefit from OmniCppCompletion. I was searching the internet > for a solution before I post here, but didn't succeed. So what's the > problem: > > I want to add tags which is specifically targeted to standard C > library. What I mean with standard C library, is stdio.h, stdlib.h, > string.h, arp/net.h socket.h signal.h and so on... > > I found only examples like: > ctags –R --c++-kinds=+p --fields=+iaS --extra=+q /usr/include > > When I run this, it takes a long time before it finishes so I > terminated the process, looking at filesize, I saw it was already > about 250 MB. If I let ctags finish it with building the table, it > could be maybe 1 GB, which is huge in my opnion and I don't think > that's how to do it. > > So please, how can I creat a tag file for standard C lib (in my case > on a Debian) correctly. I don't want C++ (cause there are plenty of > examples), just C! > > If you gave me the solution, you helped me with a problem I had for > months (I switched to Code::Blocks to code). > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
