tagbar icon indicating copy to clipboard operation
tagbar copied to clipboard

TagBar groups all functions to bottom of TagBar window

Open ashwin opened this issue 9 years ago • 1 comments

I am viewing a C++ file where there are functions at the top, followed by a few classes and then some functions at the end:

void foo() {}
class Blah {};
void bar() {}

I have set g:tagbar_sort=0 to sort entities in order they appear in file.

However, TagBar groups all the functions together and shows them at the bottom of the TagBar window:

Blah: class
functions
  foo()
  bar()

Is there any option to show all entities in TagBar in the exact order they appear in the source file?

Like this:

foo()
Blah: class
bar()

ashwin avatar Mar 21 '15 14:03 ashwin

Not at the moment, no. Functions that don't belong to a scope are grouped together. I'll have a look at whether that's feasible to add.

majutsushi avatar Apr 05 '15 07:04 majutsushi