Questions tagged [ctags]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
523 views

Why can't I find dart2native in the dart-sdk?

Some existing dart package documentation, such as dart_ctags, call on the flutter/dart developer to employ dart2native, but it's no where in current dart or flutter sdks.
J Michael's user avatar
  • 183
2 votes
1 answer
119 views

Running a bash command with a boolean check in Vim

In Vim, every time I write to a file, I want the ctags for my project to be regenerated, but only if a .ctags config file exists in the root directory of the project. To achieve this, I am trying to ...
Clayton Ramstedt's user avatar
1 vote
1 answer
443 views

Generate ctags for gVim to replace visual-studio intellisense

I am trying to generate ctags to use within gVim that would allow me to get the same kind of experience I get while using visual studio. My problem is that when I generate ctags inside my project, ...
mbl's user avatar
  • 111
4 votes
2 answers
3k views

how to open reference in new or next split in vim

When I move over a key word and then hit ^], it will jump to the definition in thecurrently active split. How can I keep the current split the same and instead open the definition in another split ...
stdcerr's user avatar
  • 243
0 votes
1 answer
953 views

Vim does not jump to correct line of tag chosen in :tselect match list

When I type :tselect pool, there are matches listed as expected: # pri kind tag file 1 F C m poll pika/adapters/select_connection.py line:238 class:...
georgexsh's user avatar
  • 129
1 vote
1 answer
407 views

vim-tagbar doesn't jump to method definitions, at least for ruby

I use the vim plugin tag-bar but it doesn't seem to work for ruby, not completely at least. At first it didn't work at all but by changing the config to use ripper-ctags like so: let g:...
Thermatix's user avatar
  • 253
-1 votes
1 answer
221 views

Print tag folder in vim

I got this line in my .vimrc so that it look i parent directories untill it find a tag file. set tags=./tags; Is there a way to print the directory where vim found the tag file inside vim?
bemug's user avatar
  • 238
0 votes
2 answers
1k views

Jumping to function in Vim

I have ctags and I would jump to functions by placing my curson to a function and pressing ctrl ]. However, I find this sometimes to be inconvenient. For instance, if my cursor is nowhere near a ...
mrQWERTY's user avatar
  • 541
10 votes
2 answers
8k views

How to use ctags and vim to jump to java methods

This used to work before I upgraded my Ubuntu system: ctags *.java vim -t fooFunc Which would then take me to e.g. Foo.fooFunc() But now, vim goes to the standard "tag not found" page. I now have ...
Edward Falk's user avatar
2 votes
1 answer
277 views

In gvim on windows C-] does not work (but C left mouse works)

Ctrl+] in gVim on Windows does not work for me. I know that the tags file is loaded since the Ctrl+left mouse button works as intended. I did not find anything of help in Browsing programs with tags....
Johan's user avatar
  • 5,435
4 votes
2 answers
3k views

How to jump to correct method definition when more than one tags match?

I've tried to generate the tag file by: ctags -R * −−java−kinds=+mc But when there are more than one matches, ctrl+] always jump to the wrong method definition in another class. I know I can use :...
Felix's user avatar
  • 93
2 votes
3 answers
348 views

Close Taglist window when selecting tag

How would one configure the Taglist plugin to automatically close the Tagslist window after clicking on a tag? I keep the Tlist window closed due to space (my monitor stands upright, in portrait ...
dotancohen's user avatar
  • 11.5k
5 votes
2 answers
2k views

How to remember multiple tabs' session in terminal in ubuntu?

I have opened many files in vim and there I am editing and tracing the program flow using ctags and I don't want to lose all those info in next reboot, I can't keep my system on for few weeks or ...
Charan Pai's user avatar
5 votes
1 answer
789 views

In vim, why does :tselect show me the wrong list?

I have this code open in vim: $this->mockEvolve(...); When I do a Ctrl + ] with my cursor over the m, it brings me to its definition. However, when I run :ts when my cursor is over the m, vim ...
des4maisons's user avatar
1 vote
0 answers
175 views

Vim PHP ctags for $['array'] C+]

So far I have this (Which is sufficient enough for me at the moment): ctags -R --languages=php --langmap=PHP:+.tpl --tag-relative=yes --PHP-kinds=+cf However, I still can't press "C-]" when I want ...
dza's user avatar
  • 242
1 vote
3 answers
1k views

Why did I fail to build ctags for vim?

I got the latest, unreleased version of the ctags source code from the svn repository using svn co https://ctags.svn.sourceforge.net/svnroot/ctags I ran ./configure, which failed with the following ...
hugemeow's user avatar
  • 2,299
0 votes
1 answer
448 views

Deterministic navigation of c++ class tags in VIM. ctags doesn't work well

Currently, to navigate a.run() tag, I put the cursor on run and press g], which opens a window with enumerated list of tags for all files that have run(). I have to manually find an option that ...
kirill_igum's user avatar
  • 1,318
3 votes
2 answers
2k views

Exclude dash (-) from word separators in vi

vi uses dash and space as word separators. is there any way to exclude dash from word separators ? This is required to work with the symbols generated by ctags exe. when symbol contain a "-" ,vi tags ...
Abhishek's user avatar
1 vote
1 answer
3k views

How do I uninstall ctags on MacOSX?

I was messing around with vim, and every now and again my CPU goes to 100% running ctags. It's getting annoying, I can't figure out how to uninstall it. I've tried 'sudo port uninstall ctags' but that ...
Eddy's user avatar
  • 3,397
3 votes
3 answers
415 views

VI adding # moves cursor to beginning of the line

Why does vim move me to the begining of a line when I press # for a comment or remark say in a perl file? Why would I not want my comment to be indented at the same level of the current code?
user avatar
8 votes
2 answers
12k views

gVim - What is ctags, and how do I use it?

I am a regular gVim user on Windows, but don't do much more than install it, set up my small _vimrc file, and go. Now I am trying to both understand gVim Omni completion, and get it to work (I found ...
Merlyn Morgan-Graham's user avatar
6 votes
1 answer
2k views

Have VIM jump to a ctag in an existing tab

I have ctags configured with my vim installation. My habit is to usually have all of the relevant files I'm working on open in tabs in vim all at once. The "problem" is that if I use Ctrl+] to jump to ...
Adrian Petrescu's user avatar
1 vote
1 answer
826 views

Does ctags for windows support .conf files

I am trying to use the commands in the link below but i cant seem to get ctags to pick up the .conf file , is there a parameter I am supposed to use ? http://weblogs.asp.net/george_v_reilly/archive/...
RC1140's user avatar
  • 636
8 votes
7 answers
12k views

Is it possible to install ctags without root privs?

I have user access to a Ubuntu instance and I'd like to use CTags. The error says: The program 'ctags' can be found in the following packages: * exuberant-ctags * emacs22-bin-common * emacs21-bin-...
mcgyver5's user avatar
  • 1,101
5 votes
2 answers
7k views

Conflicts between /usr/bin and /usr/local/bin

I have an application (Exuberant Ctags) installed in /usr/bin. I have also compiled Emacs from source, which installs its own version of ctags in /usr/local/bin. Running ctags from the command prompt ...
cschol's user avatar
  • 882