Page MenuHomeFreeBSD

devel/youcompleteme: Code-completion engine for Vim
ClosedPublic

Authored by ultima on Dec 13 2017, 2:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 5:03 AM
Unknown Object (File)
Wed, Nov 13, 6:14 PM
Unknown Object (File)
Thu, Nov 7, 10:17 AM
Unknown Object (File)
Oct 4 2024, 9:57 PM
Unknown Object (File)
Oct 3 2024, 2:11 PM
Unknown Object (File)
Sep 30 2024, 2:11 AM
Unknown Object (File)
Sep 24 2024, 4:27 PM
Unknown Object (File)
Sep 19 2024, 1:06 AM

Details

Summary

YouCompleteMe is a fast, as-you-type, fuzzy-search code completion
engine for Vim. It has several completion engines:

  • an identifier-based engine that works with every programming language,
  • a Clang-based engine that provides native semantic code completion for

C/C++/Objective-C/Objective-C++ (from now on referred to as "the C-family
languages")

  • a Jedi-based completion engine for Python 2 and 3 (using the JediHTTP wrapper)
  • an OmniSharp-based completion engine for C#
  • a combination of Gocode and Godef semantic engines for Go
  • a TSServer-based completion engine for TypeScript
  • a Tern-based completion engine for JavaScript
  • a racer-based completion engine for Rust
  • an omnifunc-based completer that uses data from Vim's omnicomplete system

to provide semantic completions for many other languages (Ruby, PHP etc.)

WWW: https://github.com/Valloric/YouCompleteMe

Todo, need suggestion or ideas:

Test Plan

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 13524
Build 13748: arc lint + arc unit

Event Timeline

devel/youcompleteme/Makefile
28

Don't these python dependencies need @{$FLAVOR} appended nowadays?

Like so:

${PYTHON_PKGNAMEPREFIX}argparse>0:devel/py-argparse@{$FLAVOR} \

Also, isn't py-argparse part of the standard Python install nowadays?

35

Mixing GH_ACCOUNT+GH_TAGNAME with GH_TUPLE is not good -- you should choose one or other of these mechanisms. See the examples 5.15 and 5.16 in the PH section 5.4.

devel/youcompleteme/Makefile
19–27

All these need @${PY_FLAVOR}

29

Have you tested that this work with all Python versions ?

35

Using GH_ACCOUNT/GH_PROJECT/GH_TAGNAME for the default distfile is the prefered way.

46

Commenting the description makes no sense.

Commenting the option from OPTIONS_DEFINE would make more sense.

Test build shows plist problems -- seems there are files left over:

=>> Checking for extra files and directories
=>> Error: Files or directories left over:
@dir share/vim/vimfiles
@dir share/vim/vimfiles/doc
share/vim/vimfiles/doc/tags
build of devel/youcompleteme | YouCompleteMe-g20171203 ended at Wed Dec 13 12:43:26 GMT 2017
build time: 00:04:55
ultima marked 6 inline comments as done.
  • Fixed PY_FLAVORS
  • Limited to python 2.7
  • Added MONO Support
  • Added deinstall script to cleanup files on removal

Thanks for the feedback.

If you don't mind, can you also give a little feedback on D13472. I'm not sure if the package is installed in the right place. Does it look acceptable?

devel/youcompleteme/Makefile
19–27

Thanks, I was having trouble with this item.

28

This is what I thought, but it causes build errors.

Removing py-argparse results in not being installed.

29

I thought python3 was supported, but after doing a test it seems to have failed. Added 2.7 as highest supported version.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 14 2017, 6:42 PM
This revision was automatically updated to reflect the committed changes.