4 ms·
Very cool, for me the simple fact that this is searching for a subsequence rather than a prefix makes this awesome. I am too used to IDEs only using prefix, wh
by cjh_ 14y ago
Very cool, for me the simple fact that this is searching for a subsequence rather than a prefix makes this awesome.
I am too used to IDEs only using prefix, which is often useless to me (I remember the 2nd word but that is it, time to google).
EDIT: I find the idea of a helper window really neat (display documentation, argument names and types, etc.), too bad the vim API isn't there yet.
- syncontrol 14y agoYou can still get such a helper window, just not in a convenient place. Vim's 'preview' window is there to show such information (docs, arg names and types), but it pops up at the top of the screen instead of right next to the completion window. YCM will feed information to the 'preview' window by default (you just need to have 'preview' in Vim's 'completeopt' option). See the docs.