Skip to content

No 'export ctags' command for vim/emacs/Sublime native tags consumers #1649

Description

@Widthdom

Summary

Vim, Emacs, Sublime, and many other editors consume tags files (Exuberant ctags / Universal Ctags format) for jump-to-definition. CodeIndex already has all the symbol/file/line data needed to emit this format, but there is no cdidx export ctags command. Editor users currently have to run universal-ctags separately and lose the benefit of CodeIndex's cross-language consistency.

Where

  • src/CodeIndex/Cli/ProgramRunner.cs (no export subcommand)
  • src/CodeIndex/Database/DbReader.cs (already has all the symbol data)

Suggested approach

(1) Add cdidx export ctags [--output=tags] that walks Symbols table and emits standard ctags format (name<TAB>file<TAB>pattern). (2) Optionally add --format=etags for Emacs etags format. (3) Document in USER_GUIDE.md editor-integration section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions