D AutoCompletion: is ycmd integration valuable?

rcorre via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 15 18:55:07 PDT 2015


> Thats great and all but not everyone is autistic enough to 
> learn the ins and outs of Vim or Emacs...
>
> Visual Studio completion is very interesting as well because it 
> can read the functions of other third party libraries 
> automatically. Can ycmd do that?

ycmd is intended to serve as a layer between a 
completion/semantic engine (DCD/Dscanner in this case) and an 
editor.
Reading third party library functions would be the job of DMD in 
this case (which it can do, if the paths are set up correctly).

The potential advantage of ycmd is better integration of that 
completion info within your editor.

At this point, dutyl does a good job, but there are definitely 
areas to improve.
Improving dutyl would involve duplicating some of ycmd's logic in 
vimscript, while proper ycmd integration would involve 
implementing some of dutyl's logic in python.



More information about the Digitalmars-d mailing list