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 8148113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:35:02+00:00 2026-06-06T14:35:02+00:00

I use Vim with clang_complete for omnicompletion. The plugin is automatically triggered when I

  • 0

I use Vim with clang_complete for omnicompletion.

The plugin is automatically triggered when I need completion, e.g., after I type . or -> to access an object members or methods (see screenshot below).

clang_complete showing std::map methods

The plugin works really nice, however I would need a way to trigger it manually (i.e. to compile my code for syntax checking).

This is useful for two reasons:

  1. Static syntax checking
  2. Clear previous errors which have been fixed (which otherwise will remain in their buffer). See the two screenshots below for a better understanding.

Any help is appreciated.
Thanks.


Screenshot 1


Error at line 3


Screenshot 2


Error fixed


  • 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-06T14:35:02+00:00Added an answer on June 6, 2026 at 2:35 pm

    From the clang_complete docs:

            *clang_complete-periodic_quickfix*
            *g:clang_periodic_quickfix*
    If equal to 1, it will periodically update the quickfix window.
    Default: 0
    Note: You could use the g:ClangUpdateQuickFix() to do the same with a mapping.
    

    If you set this variable to 1, it would update the quickfix window periodically, (and) or you could create a mapping thus:

    nmap <leader>uq :call g:ClangUpdateQuickFix()
    

    so that \uq would cause the update. (of course, using YOUR leader mapping, naturally)

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

Sidebar

Related Questions

I started to use vim recently, but I miss the character/line selection methods from
I use vim under iterm2. I'm using the NERDCommenter plugin, and I'd like to
I use VIM with different types of files, so each time I need to
I use vim-rails and ctags for navigate of methods. For it I run ctags
I use vim to do some slowly operations after file saved, those operations let
I use VIM editor for PHP, i know many people will point to PDT
I use Vim & Git together. I tend to merge/switch Git branches alot. I
I use vim + xdebug to debug php. If the debug operation waste a
I use vim on both FreeBSD and Linux os, sharing the same .vimrc configuration
I am trying to use vim properly - to aid me I've mapped my

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.