ctags

ctags doesn't work when class is defined like "class Gem::SystemExitException"

You can define a class in a namespace like this class Gem class SystemExitException end end or class Gem::SystemExitException end When code uses first method of class definition, ctags indexes the class definition like this: SystemExitException test_class.rb /^ class SystemExitException$/;" c class:Gem Wit...

ctags doesn't undestand -e option (no exuberant tags option)

When I type ctags -e it returns an error saying it doesn't know that command line option. I thought it should know about exuberant tags because etags works on cli. Also, I recieve the following error: ctags: unrecognized option --langdef=arc and I have the following in my ~/.ctags file: --langdef=arc --langmap=arc:.arc --regex-arc=/^\(...

Any idea why ctags won't recurse on Cygwin?

I'm getting "skipping XXX: it is not a regular file" every time I run ctags -R XXX. For one reason or another, ctags on Cygwin isn't recursing directories. Surely, I must be doing something stupid. Whenever I try the de-facto standard ctags -R in my project root, it complains that I didn't specify any input files. When I specify a direc...

Generating a Call Hierarchy for dynamicly invoked method

Hello, Today's world of dynamic invoke, reflection and runtime injection just doesn't play well with traditional tools such as ctags, doxygen and CDOC. I am searching for a method call hierarchy visualization tool that can display both static and dynamic method invocations. It should be easy to use, light during execution and provide h...

how to fix: ctags null expansion of name pattern "\1"

Hi, As the title points I have problem with ctags when trying to parse user-defined language. Basically I've followed those instructions. The quickest and easiest way to do this is by defining a new language using the program options. In order to have Swine support available every time I start ctags, I will place the foll...

Emacs : problem with tags file ?

I am using ctags to create tags for my Emacs to read symbols from, using cygwin. Emacs says "visit-tags-table-buffer: File /home/superman/tags is not a valid tags table" here are my options to find files and generate tags. $>find . -type f -regex '.*\.[hc]\|.*\.cpp' -print0 | xargs -0 ctags -e --extra=+q --fields=+fksaiS --c++-kinds...

Setting up separate ctags db's for C/C++ standard libs, boost, and third party libs

I want to set up separate ctags databases for various libraries in /usr/include/ for use with OmniCppComplete. The idea is to be able to pull in only the libraries needed for a particular project in the target language - C or C++. For example, I'd like to have one database for the standard C libraries, one for system libraries that m...

Generating a reasonable ctags database for Boost

I'm running Ubuntu 8.04 and I ran the command: $ ctags -R --c++-kinds=+p --fields=+iaS --extra=+q -f ~/.vim/tags/stdlibcpp /usr/include/c++/4.2.4/ to generate a ctags database for the standard C++ library and STL ( libstdc++ ) on my system for use with the OmniCppComplete vim script. This gave me a very reasonable 4MB tags file which...

Vim + OmniCppComplete: Completing on Class Members which are STL containers

Completion on class members which are STL containers is failing. Completion on local objects which are STL containers works fine. For example, given the following files: // foo.h #include <string> class foo { public: void set_str(const std::string &); std::string get_str_reverse( void ); private: std::string str; }; //...

How can you make an emacs macro wait for cscope query results?

I am trying to write a macro which calls cscope-find-functions-calling-this-function on each and every tag in a file displayed in the *Tags List* buffer (created by list-tags command). This should create a buffer which contains list of all functions calling a set of functions defined in a certain file. I just position the point at the s...

Alternatives to Ctags/Cscope with Objective-c?

Are there any alternatives to ctags and cscope with Objective-c support. This does pertain to cocoa development, so inevitably it seems I will be using Xcode (and probably should). I was just wondering what are my Vim options. Maybe there is some type of plugin system like eclim, but for xcode? EDIT So it seems that other than upda...

The ctags command doesn't recurse saying "it is not a regular file".

When I run ctags -R *, I get errors saying that all directories are not regular files and it skips them instead of recursively generating tags for them. ctags: skipping arpa: it is not a regular file. ctags: skipping asm: it is not a regular file. ctags: skipping asm-generic: it is not a regular file. ctags: skipping bits: it is not a r...

Vim: restricting methods shown by omnicomplete to those present in ctags

I'm editing a simple PHP file with a class which has a few methods, if $bar is an instance of this class and I type $bar->ctrlxctrlo I get a popup with a lot of methods (builtin ones) in addition to those of my class and present in the ctags list. How can avoid showing all those external methods and just keep the ones defined in my cla...

Problem with exuberant ctags on Mac OS X

I'm trying to generate tags for the C Standard Lib using Exuberant Ctags 5.8, however it seems that the headers are not parsed completely... For example, when I generate the tags for /usr/include/string.h, I get this: !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ !_TAG_FILE_SORTED 1 /0=unsorted, 1...

Vim - run ctags on current python site-packages

This is what I need - have a key that will create ctags of my python site-packages. I have this command, that will print the site-packages path: !python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()" This is how I to the key mapping: map <F11> :!ctags -R -f ./tags *site-packages-path-goes-here*<CR> How...

enable auto-completion for C in Mono Develop

I need to enable Auto completion for C programs in Mono - I think using CTAG? How can I do that? ...

get the address of file created using FileOutputStream in android

I m creating one text file at run time using FileOutputStream and i want to send that file through email...... emailIntent.putExtra(android.content.Intent.EXTRA_STREAM,Uri.parse("............")); Here i want to pass the path of file.....so how to get the path of that file which i m creating...?....plz reply ...

ctags and Fortran's interfaces

I'm wondering how to get ctags working with interfaces in Fortran, eg: INTERFACE SOME_ROUTINE MODULE SOME_ROUTINE_A MODULE SOME_ROUTINE_B END SOME_ROUTINE So that either SOME_ROUTINE_A or SOME_ROUTINE_B is called depending on the parameters passed to the subroutine. If I've got my cursor over a call to SOME_ROUTINE in Vim, and hi...

ctags not found : pthread_mutex_init

I have installed omnicppcomplete, taglist, cscope, etc., and I generated my tags in /usr/include using: ctags -R --c++-kinds=+plx --fields=+iaS --extra=+q . And in my .vimrc I set: set tags=/usr/include/tags,./tags,./..tags,./**/tags But now when I write my multi-thread programs, I can not switch to pthread_create and pthread_mutex...

ctags support for MooseX::Declare? (Perl)

How can I get ctags to generate tags for MooseX::Declare methods, classes, attributes and such? ...