Skip to content

Sort by order in the file #854

@bluss

Description

@bluss

Would it be possible to add an option to sort items by strict order in the file?

Right now I see classes sorted first and then functions. If I enable tag linenumbers (let g:tagbar_show_tag_linenumbers = 1) then the displayed line number corresponds to exactly the order that I'd prefer in the tagbar, if the items were sorted by that line number. Is this possible? Any pseudotags could be sorted according to their first child.

(The sort option only influences order inside a category, that I can see, i.e "class", "function" etc.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions