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)
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
Unknown Object (File)
Sep 6 2024, 1:09 AM
Unknown Object (File)
Sep 5 2024, 12:43 PM

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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

devel/youcompleteme/Makefile
27 ↗(On Diff #36539)

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?

34 ↗(On Diff #36539)

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
18–26 ↗(On Diff #36539)

All these need @${PY_FLAVOR}

28 ↗(On Diff #36539)

Have you tested that this work with all Python versions ?

34 ↗(On Diff #36539)

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

45 ↗(On Diff #36539)

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
18–26 ↗(On Diff #36539)

Thanks, I was having trouble with this item.

27 ↗(On Diff #36539)

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

Removing py-argparse results in not being installed.

28 ↗(On Diff #36539)

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.