Saturday, 28 September 2013

How to generate a tags file for all C++ header files of the MSVC folder that couldn't be process by Ctags?

How to generate a tags file for all C++ header files of the MSVC folder
that couldn't be process by Ctags?

How can I generate a tags file for all C++ header files of Microsoft
Visual C++ if the Exuberant Ctags couldn't process in the containing
folder?
For example the containing folder's path of the header files of Microsoft
Visual C++ is: "C:\Program Files\Microsoft Visual Studio 11.0\VC\include"
How to generate a tags file for all C++ files in that containing folder?
And also how to generate for all C++ files in that containing folder and
on its subdirectories?
I already tried the command:
:!ctags -R --sort=yes --c++-kinds=+p --fields=+iaS --extra=+q
--language-force=C++ -f C:\Users\USR\vimfiles\tags\msvc C:\Program\
Files\Microsoft\ Visual\ Studio\ 11.0\VC\include
And the command:
:!ctags -R --sort=yes --c++-kinds=+p --fields=+iaS --extra=+q
--language-force=C++ -f C:\Users\USR\vimfiles\tags\msvc C:\Program
Files\Microsoft Visual Studio 11.0\VC\include
But these are just creating a tags file "msvc" without tagging any files
in the \include folder. In fact this is the full source of the created
tags files:
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to
lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.8 //
But I'm pretty sure that those 2 previous commands shall work if the
folder that's in process is on the $HOME of the Windows user such as
"C:\Users\USR".

No comments:

Post a Comment