2009/9/27 A. S. Budden <[email protected]>

>> And do your plugin used cscope?

>Yes and no.  It doesn't use cscope at all, but (for my purposes), I
>have configured it to run cscope in the background to regenerate the
>cscope.out database (so I can update the tags, types and cscope
>database in one go).  It only does this if both of the following
>conditions are true:
>
>1) There is a file in the current directory called cscope.files
>2) The buffer-local variable b:CheckForCScopeFiles is set to 1.
>
>All the best,
>
>Al


Thank for your reply, so in your plugin. It will not call csope command,
will it?

>> 2009/9/25 stone <[email protected]>
>> And will your plugin interfer with the lookup file plugin?
>> After I run the UpdateTypeFile! . Somthing strange to my look up file
>> plugin.

>The short answer is: I don't know.

>What is the lookup file plugin and what exactly strange is happening?

A lookup file plugin is in here:
http://www.vim.org/scripts/script.php?script_id=1581

It is a plugin to help find a file in current project.

When I use it, I will create a special tag file , only include file name.

I have found that why the strange thing happend.Because the lookup file
plugin has look up file
in your tag file and my file name tag file together.


>> I used this command to create my tags file:
>> ctags -R  --c++-kinds=-f-n-v -o ../tag_highlight
>> And do you had same command?

>I call ctags with (if memory serves me correctly):

>ctags --recurse --exclude=docs --exclude=Documentation --languages=c,c++ .

>This generates a file called tags, which is then parsed to generate
types_c.vim.

>It treats C and C++ files as equivalent, but it has always seemed to
>work for me.  Are you having trouble with C++ code?


I creat the tag file use this command:
ctags -R --c++-kinds=+p+x --fields=+iaS --extra=+q

The options in the commad: --c++-kinds=+p+x will add function prototype for
c++ file;
--fields=+iaS  and --extra=+q  add special information for c++ class.

So, adding these options, the tag file will help me to auto complete the c++
file.

So, Would you tell me how can I add this options in your plugin. I this it
will help me much.

At the same time ,if I have created a tag file using my command. After I run
the UpdateTypeFile! to modify the tag
file, does the command will replace my tag file or append my tag file?

PS:
The command :UpdateTypefile! will create tag file in current directory. Must
the tag file name is : tags?
Do I change the tags file name?
And when I have created the tags file ,I run the command next time, Should
it run fater than I run it at first?


Anyway, Thank you very much. I enjoy this plugin very much.

--


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to