Friday, April 1, 2011

Re: How to list all included header files by a c file

If you have a cscope database, you can use this plugin: http://www.vim.org/scripts/script.php?script_id=2368 to display file dependencies.
Note that the header files must be part of the source code that cscope built (i.e., header files that stdio.h includes will not be tracked if it's not part of your cscope database).


On Fri, Apr 1, 2011 at 10:48 AM, Aman Jain <amanjain.nitrkl@gmail.com> wrote:
Hi

Is there a way to see all the header files included by a c file, lets
say a c file contians only one header file ,but that header file
includes 10 header files, and those 10 include further more and so
on...
I want to get a list of all header files that eventually get included.

TIA

--
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

No comments: