ctags Questions

11

Solved

I'm having the problem that ctags in vim/gvim takes me to a forward declaration a lot of times instead of to the actual definition of the function. Any way to get around that?
Ferula asked 28/6, 2009 at 10:53

3

The title states the problem, so here's the context. I have a tiny C++ file void f( int x ) { } void f( ) { } On which I run ctags. ctags --recurse --sort=1 --c++-kinds=+p --fields=+iaS --e...
Flattie asked 7/11, 2018 at 14:58

1

Solved

The airline plugin has an extension which uses Tagbar to show the current function name. (I know this because of this question which I found via asking this question) This works really well and l...
Novick asked 18/11, 2015 at 18:9

2

Solved

I used "Exhuberant ctags" to index all the tags from my c-project. The c-project is embedded software for a Cortex-M7 microcontroller. The result is a tags-file. I'm trying to read this file and un...
Taliesin asked 30/1, 2017 at 10:39

4

Solved

I want to use Ctags for a Zend framework project. I executed this command : ctags -R ./* ../ZendFramework/*to create a list of tags, but the problem is when I press Ctrl-] on a class or method I ge...
Mychal asked 15/8, 2012 at 18:51

5

Solved

How to generate tags file for Go source In mac, I installed exuberant ctags , and tried the below command in source directory ctags -f gosource.tags -R `pwd` But, it doesn't consider *.go files...
Malindamalinde asked 20/11, 2011 at 20:13

6

Solved

I have looked and tried to use exuberant ctags with no luck with what I want to do. I am on a Mac trying to work in a project where I want to exclude such directories as .git, node_modules, test, e...
Burkhardt asked 13/9, 2014 at 3:54

8

Solved

I use vim C++ tag file for navigation using Ctrl-]. The problem is whenever some file gets modified, the links are no longer valid and I have to re-run ctags and update the tag file. Our code base ...
Vicky asked 21/7, 2009 at 5:13

6

Solved

I spend 20% of my life writing code in vim, almost exclusively javascript and python. The other 80% of the time I am mostly scrolling up and down my source file, trying to remember which function I...
Impecunious asked 13/11, 2015 at 18:0

7

Is there any documented use of ctags with R? Would this be useful? Would it be difficult to implement? Specifically, I've just started using Vim. It would be cool to be able to write an R function ...
Raisin asked 25/1, 2011 at 14:49

4

Solved

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...
Rashidarashidi asked 13/5, 2010 at 8:57

0

It is possible to configure fzf in vim insert mode to do code completion? The tags are generated and setup to work with vim. In vim omni completion is working well. But omni completion doesn't have...
Procreant asked 3/1, 2021 at 6:21

4

Solved

I would like to create a tags file using ctags for a complete source tree. Now I generally would run ctags *.c but the problem is in the top directory, there's no source files. Also, I'd like it t...
Charkha asked 27/8, 2016 at 22:14

5

Solved

I'm trying to get setup with (exuberant) ctags on Vim today and am having difficulty getting it to work properly. I generate my ctags file on the command line with with: cd myproj ctags -R This ...
Furnary asked 16/2, 2011 at 14:16

5

Solved

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 er...
Luciennelucier asked 5/4, 2010 at 18:45

2

Solved

I just tried generating some tags for emacs by running something like: ctags -e --extra=+q --sort=yes -R /codebase/one /codebase/two /usr/include /usr/include/c++ I drop this in some subdirector...
Infeudation asked 6/2, 2013 at 0:27

3

I have a compiled code. If i try generation the tags using the 'usr/bin/ctags -R *', it will include all the c,h,object files etc. So it is taking lot of time and also memory. Could you please let ...
Sensible asked 2/5, 2013 at 5:26

2

Solved

I have exuberant tags in my mac. Since, yesterday i am getting this error ctags: illegal option -- R usage: ctags [-BFadtuwvx] [-f tagsfile] file ... I have followed the steps mentoned in this Af...
Gelinas asked 30/4, 2018 at 7:10

7

Solved

This morning, I started getting that message when I attempt to open a file in Vim. Vim is my editor of choice for config files, git commit messages and the like, but is not my day to day code edito...
Adrenocorticotropic asked 17/9, 2011 at 12:39

3

ctags is not seeing my ~/.ctags file, so I've tried specifying it using the --options option but it always says it cannot find the file, no matter where I put it: $ touch .ctags && ctags -...
Meathead asked 24/10, 2012 at 3:6

4

I have a cmake project. I want to do the following easily search the declaration, definition and references of any variable, function, etc. under the cursor, which may be declared in an external ...
Huntington asked 31/8, 2018 at 6:3

2

Solved

I'm new to ctags. After reading some information about the program, I concluded that "Universal ctags" is the newest version (successor of "exhuberant ctags") and still under active development: ht...
Thuja asked 30/1, 2017 at 10:0

4

I depend heavily upon ctags to traverse between my code. Can anyone suggest how to use ctags with golang in Mac. I tried using gotags, but I did not see any tag file generated and I was not able ...
Ballman asked 22/1, 2016 at 4:37

4

Solved

I primarily use vim / gvim as an editor and am looking at using a combination of lxr (the Linux Cross Reference) and either cscope or ctags for exploring the kernel source. However, I haven't...
Reedbuck asked 1/6, 2009 at 10:14

1

who is this question may seem silly, but I'm stuck. I write gnuradio application in some python file. In VIM I try to open a file that is imported, for example: from gnuradio import audio Let's...
Hsining asked 16/8, 2014 at 22:9

© 2022 - 2024 — McMap. All rights reserved.