Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8122671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:54:21+00:00 2026-06-06T05:54:21+00:00

Is there any plugin for VIM that I can use to index an C++

  • 0

Is there any plugin for VIM that I can use to index an C++ project code base?

I would apreciate functionalities like being capable of specifing a class and and may be a method and see what file/line the method/class is defined.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:54:23+00:00Added an answer on June 6, 2026 at 5:54 am

    Regarding code navigation (and completion),

    I’d take a look at clang_indexer (and clang_complete) —
    ctag understanding of C++ code is quite bad, but universal-ctags has greatly improved the situation ; cscope understanding of C++ is non-existent.

    Regarding plugins for C++ coding,

    I have a suite for C and C++ programming. It is mainly oriented toward C++ programming, however a few, and unique features can be used in C as well:

    • context sensitive snippets (they require other plugins I’m maintaining);
    • a way to jump to a function definition from its declaration (or create it on the fly if it doesn’t exists yet) (it used to requires the plugin alternate, which is a must have, however that I’ve forked it for my own needs) -> :GOTOIMPL;
    • a little tool that lists functions with a declaration and no definition, or functions with a definition and no declaration (NB: I haven’t used it against C static function yet) (it requires ctags).
    • :Override that searches for overridable functions
    • :DOX that analyses C++ function signature to generate the appropriate (customizable) doxygen comment (with \param, \throw, …)
    • a mapping to include the header file where the symbol under the cursor is defined* (which requires an up-to-date ctags base)
    • and few other things

    Otherwise, I also use:

    • plugins like project/local_vimrc in order to have project specific settings ;
    • searchInRuntime to open/jump to files without the need to browse the directories of the current project ;
    • a refactoring plugin (that still lacks a few things …) ;
    • a wrapper around :make in order to do background compiling, and to filter &makeprg results (e.g. pathnames conversions between cygwin posix form and dos form ; application of STLfilt ; etc.) (-> BuildToolWrapper which is stable, but still in an alpha stage) ;
    • and a few other things which have already been mentioned (alternate, ctags, …).

    Other Plugins.

    Other people use c.vim, other templating systems (snipmate & co), pyclewn (that I highly recommend for debugging (with gdb) from within vim), other bracket-surrounding-and-expansion systems, …

    PS: I’ve answered, slightly differently, a question on the same subject on quora.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any plugin for jQuery that would take an argument for the max
Are there any plugin for eclipse that allows to show only one method from
Is there any jQuery plugin that applies paging, allows users to select the page
Is there any jQuery plugin for progressive light glow effect like this ?
Preferably Eclipse Plugin Is there any Eclipse plugin which can help me in looking
Are there any IDEs that can embed gvim as its editor? I found PIDA
In vim, there is this amazing plugin called command-t, that lets you fuzzy-search through
I'm using the wonderful Taglist plugin with Vim and I would like to know
There are plugins like vcscommand that work for (almost) any vcs and plugins like
Is there a way to make Vim work like notepad++ with explorer plugin or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.