Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[READY] Rename completer options #851

Merged
merged 1 commit into from
Oct 5, 2017

Conversation

micbou
Copy link
Collaborator

@micbou micbou commented Oct 2, 2017

It's more intuitive for users if completer options are named after the language and not after the semantic engine e.g. --rust-completer instead of --racer-completer. To preserve backward compatibility, we keep the old options but deprecate them by hiding them from the --help output. We don't rename --clang-completer since clang is really well known and an appropriate name to designate C-family languages.


This change is Reviewable

Having the completer options named after the language is much more intuitive.
Users are not supposed to know about the semantic engines used by ycmd.
@codecov-io
Copy link

codecov-io commented Oct 2, 2017

Codecov Report

Merging #851 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #851   +/-   ##
=======================================
  Coverage   94.83%   94.83%           
=======================================
  Files          79       79           
  Lines        5406     5406           
  Branches      170      170           
=======================================
  Hits         5127     5127           
  Misses        231      231           
  Partials       48       48

@bstaletic
Copy link
Collaborator

This looks good. :lgtm:


Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@Valloric
Copy link
Member

Valloric commented Oct 4, 2017

Heh, this has been bothering me for literally years, I just never found it pressing enough to fix. :D
:lgtm:

Thanks for the PR!

@zzbot r=bstaletic

@zzbot
Copy link
Contributor

zzbot commented Oct 4, 2017

📌 Commit 3e83285 has been approved by bstaletic

@zzbot
Copy link
Contributor

zzbot commented Oct 4, 2017

⌛ Testing commit 3e83285 with merge 2f698d7...

zzbot added a commit that referenced this pull request Oct 4, 2017
[READY] Rename completer options

It's more intuitive for users if completer options are named after the language and not after the semantic engine e.g. `--rust-completer` instead of `--racer-completer`. To preserve backward compatibility, we keep the old options but deprecate them by hiding them from the `--help` output. We don't rename `--clang-completer` since `clang` is really well known and an appropriate name to designate C-family languages.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/851)
<!-- Reviewable:end -->
@zzbot
Copy link
Contributor

zzbot commented Oct 4, 2017

💔 Test failed - status-travis

@zzbot
Copy link
Contributor

zzbot commented Oct 5, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: bstaletic
Pushing 2f698d7 to master...

@zzbot zzbot merged commit 3e83285 into ycm-core:master Oct 5, 2017
@micbou micbou deleted the rename-completer-options branch October 5, 2017 12:12
zzbot added a commit to ycm-core/YouCompleteMe that referenced this pull request Oct 10, 2017
[READY] Update ycmd

Include the following changes:
 - PR ycm-core/ycmd#785: automatically find Rust sources through rustup;
 - PR ycm-core/ycmd#835: do not return canonical type if identical to type in C-family languages;
 - PR ycm-core/ycmd#837: improve support of system Boost and system libclang on Gentoo;
 - PR ycm-core/ycmd#840: improve Red Hat and CentOS detection;
 - PR ycm-core/ycmd#842: consider header file entries in compilation database;
 - PR ycm-core/ycmd#843: improve completion of include statements in C-family languages;
 - PR ycm-core/ycmd#851: rename completer options in installation script;
 - PR ycm-core/ycmd#855: only include one macOS toolchain.

Update documentation according to PRs ycm-core/ycmd#785 and ycm-core/ycmd#851.

Close #2379.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2804)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants