Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've spent quite some time struggling with this myself. </p> <p>The closest I ever got was something called <a href="http://cx4a.org/software/gccsense/" rel="nofollow noreferrer">gccsense</a>. Unfortunately, the project seems abandoned and moreover it was difficult setting it up because English was not the author's first language.</p> <p>I ended up approaching the problem from another angle. I made the decision that intellisense/autocomplete was more important to my coding than having all the available features of vim, so I chose an IDE like Eclipse, and then found a plugin for Eclipse that emulates Vim. So far the best kind of plugin like that that I found was <a href="https://marketplace.eclipse.org/content/viable-vim-eclipse" rel="nofollow noreferrer">Viable</a>.</p> <p>Here is the full list of options that I have tried and found unsatisfactory:</p> <ul> <li>clang - requires you switch from gcc to a different and "better" compiler. The problem is gcc is much more mature [<em>edit</em> apparently you don't need to switch compilers see comments below, I may give this another try in the future.]</li> <li>gccsense - great idea (using gcc to give you the code completion) however work on the project is abandoned :( and the version that is up is beta quality</li> <li><a href="http://www.xref.sk/xrefactory/main.html" rel="nofollow noreferrer">xref</a> in vim - xref is a great standalone tool and works great for parsing C. It can be made to work in vim with <a href="http://code.google.com/p/vxref/" rel="nofollow noreferrer">vxref</a>, however from my experience xref lacks in parsing current C++ code and development on it has stopped (as well as development on vxref.)</li> <li>eclim - seems to work great for Java support using eclipse, extremely slow and completely unreliable when parsing C++ or C code. What usually happens is everything works for a long while, but then suddenly, the parser stops parsing any new code that you write, and nothing short of loading up eclipse itself and forcing eclipse to reparse the project seems to help. Also, less of an important fact, but more of an annoyance is that eclim takes over handling errors, so it screws up the way vim usually parses errors from gcc meaning you have no access to the quickfix list which is annoying.</li> <li>netbeans + jvi - alot of people swear by this, but I had all sorts of problems with jvi. One major problem I had was jvi would say I'm in normal mode, but really was in insert mode, nothing short of a restart would help.</li> <li>eclipse + viplugin/vrapper - this was beginning to look like the best option; each had its own set of bugs + lacking features, but still was most attractive, until I found viable which seemed to be the most stable and have the most features.</li> </ul> <p>If you do find a solution you are happy with please share it in a comment, because I would be interested in it.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload