Questions tagged [tagbar]

Tagbar is a vim plugin for browsing the tags of source code files. It provides a sidebar that displays the ctags-generated tags of the current file, ordered by their scope. This means that for example methods in C++ are displayed under the class they are defined in.

Tagbar is a Vim plugin for browsing the tags of source code files. It provides a sidebar that displays the ctags-generated tags of the current file, ordered by their scope. This means that for example methods in C++ are displayed under the class they are defined in.

35 questions
2
votes
2 answers

VIM: hack ctags or tweak tagbar for better PHP support

Recently, i gave up Taglist for Tagbar. Tagbar works as expected for all languages except PHP. It lists class, methods and variables into their respective categories instead of displaying methods and variables into their respective scope. I came to…
Asur
  • 1,949
  • 4
  • 23
  • 41
1
vote
2 answers

Vim tagslist plugin not detecting custom language (racket)

I've recently started using racket, and one of the first things I've done has been to try and get the vim TagList plugin to work with it. However, it doesn't work in the slightest. I can open racket files and the TagList window will be as blank as…
Neil C
  • 11
  • 3
1
vote
1 answer

ctags and tagbar configuration are out of sync

I'm trying to use tagbar for reading code in jquery-1.7.1.js(renamed jquery.js) ,but it doesn't work and display any errors : "your ctags and tagbar configuration are out of sync! ". And my ~/.ctags file: …
Toress
  • 1,001
  • 1
  • 9
  • 12
1
vote
1 answer

Show Python variables as children of function in Tagbar (gVim, with exuberant ctags)

I am trying to show variables inside functions in Tagbar for gVim. Currently, functions are shown inside classes, and variables are shown inside classes, but variables are not shown inside functions. I would like to be able to see which variables…
CrazyArm
  • 356
  • 1
  • 3
  • 13
1
vote
0 answers

Golang in Vim - Tagbar plugin shows incorrect places

I've installed vim-go with all needed binaries, added tagbar plugin from https://github.com/majutsushi/tagbar, gotags and ctags binaries exist in may $PATH. The problem is that some functions/variables redirect me to the absolutely wrong line (same…
Alexey
  • 2,582
  • 3
  • 13
  • 31
1
vote
1 answer

How to group subroutines with packages in vim tagbar for perl?

For some time I have been using perl with vim now. Before that I used IntelliJ with a plugin for perl. The only thing that I am missing is a different view in vim tagbar. I have configured it to run with universal ctags and it shows me categories…
Marcel
  • 21
  • 4
1
vote
0 answers

Ctags doesn't produce any tag when run on STL implementation

I am currently trying to understand the STL implementation of the Red-Black Tree which is located in bits/stl_tree.h. Since the size of the file is greater than what I'm used to, I found myself quite lost. Since I used Vim, I installed vim-tagbar…
Poroing
  • 61
  • 7
1
vote
1 answer

vim tagbar: custom language configuration

I am trying to configure a "custom language" for vim tagbar that would allow the tagbar to be used for viewing Abaqus Finite Element Analysis input files. I duplicated examples from the following…
Timothy Helton
  • 332
  • 4
  • 10
1
vote
2 answers

How to jump next tag when using tagbar in VIM

when using VIM with tagbar displayed. I want to use the next command in .vimrc nnoremap tn h to jump to the next tag in the tagbar. But the it takes no effect at all. when i typed tn, the cusor is jumped to the next tag, but the main…
harris
  • 1,473
  • 1
  • 17
  • 26
1
vote
2 answers

In TagBar plugin in Vim, automatically set cursorline

The question is really simple, when i run TagbarToggle i want the cursorline option to be True in that window (if it is in the "main" window). something like: if &cursorline call set_cursorline_in_tagbar() endif Of course i could just set it…
A_User
  • 397
  • 1
  • 9
0
votes
2 answers

ctags and tagbar with javascript

I installed tagbar in vim. It parses the whole js file perfectly. But, when i try to use ctags, it doesnt parse the file well. Now, isnt tagbar using…
Jenia Ivanov
  • 2,485
  • 3
  • 41
  • 69
0
votes
0 answers

ctags built-in support for .tex files

CTags currently works fine for me on .tex files on following the instructions at https://github.com/preservim/tagbar/blob/master/doc/tagbar.txt. Essentially, this involves two steps: Have a ~./ctags file in home directory with following…
Tryer
  • 3,580
  • 1
  • 26
  • 49
0
votes
3 answers

vim: Tagbar windows opened when typing in normal mode

When typing in normal mode in Vim with the Tagbar plugin installed, the Tagbar window is opened automatically. I want to disable this functionality. What must I do?
Long MaX
  • 3
  • 1
0
votes
0 answers

Is it possible to broaden the scope of tag searching with the Vim Tagbar plugin?

I am using the plugin Tagbar (with Universal Ctags) to help browse C source code in Vim. Things work great for a single file, but I would like to broaden the scope of the tag searching so that I can see/jump to declarations and definitions in…
peachykeen
  • 4,143
  • 4
  • 30
  • 49
0
votes
1 answer

Override methods in tagbar

When I have methods in header file, which marked as override, then Tagbar can not correctly display this: show not name of method, just simple override. How I can fix that?