1

I installed YCM and it works fine, but every word suggestion is followed by [ID] (see below).

enter image description here

What does [ID] mean, how can it be used and the main question is - Is it possible to get rid of [ID]? if yes - then how?

By the way, I'm using Vim on Ubuntu 16.04

Jair López
  • 650
  • 1
  • 5
  • 16
Max
  • 45
  • 8

2 Answers2

1

I found a solution if anyone needs. In file identifier_completer.py which is located in ~/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/all/ in line 66 'extra_menu_info='[ID]' ) '[ID]' can be replaced by empty string ''. that works.

Max
  • 45
  • 8
  • The `identifier_completer.py` you're referring to is [that one](https://github.com/Valloric/ycmd/blob/b74add9c32f6edd71e165a7151fac12cf8a9a32c/ycmd/completers/all/identifier_completer.py#L66). This is a [permanent link](http://stackoverflow.com/a/31282559/1121933) (quoted, for further reference). – Jair López May 23 '16 at 00:16
0

ID shows that it is a variable.

You will also get F for functions, and many more like that.

meain
  • 833
  • 9
  • 28