-
Notifications
You must be signed in to change notification settings - Fork 769
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] Update jdt.ls to 0.25.0 #1109
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1109 +/- ##
==========================================
- Coverage 97.58% 97.56% -0.02%
==========================================
Files 89 89
Lines 6992 6994 +2
==========================================
+ Hits 6823 6824 +1
- Misses 169 170 +1 |
aa1c7b7
to
80eb81d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Subcommands_RefactorRename_MultipleFiles
test is now expected to fail.
Reviewed 5 of 5 files at r1.
Reviewable status: 0 of 2 LGTMs obtained
The hover response does not return a list with only one item anymore but instead return the item directly. An empty list of diagnostics is returned for the project root. Renaming only works for valid identifiers. A regression has been introduced: renaming a method does not rename places where the method is overridden. Catch PollForMessagesTimeoutException from thread in Poll_Diagnostics_ProjectWide_Eclipse_test test.
80eb81d
to
57a1691
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, disregarding the jdt.ls regression, about which we can't do a lot.
Reviewed 5 of 5 files at r1.
Reviewable status: 0 of 2 LGTMs obtained (and 1 stale)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review. I am triggering zzbot since it's blocking PR #1113.
Reviewable status: 1 of 2 LGTMs obtained
@zzbot r+ |
📌 Commit 57a1691 has been approved by |
[READY] Update jdt.ls to 0.25.0 Some changes were required: - the hover response does not return a list with only one item anymore but instead return the item directly e.g. `{ 'language': 'java', 'value': 'some value' }` is returned instead of `[ { 'language': 'java', 'value': 'some value' } ]`; - for some reason, an empty list of diagnostics is returned for the project root; - renaming only works for valid identifiers (`a-quite-long-string` is not a valid Java identifier); - a regression has been introduced: renaming a method does not rename places where the method is overridden. See eclipse-jdtls/eclipse.jdt.ls#802. The `PollForMessagesTimeoutException` exception from `Poll_Diagnostics_ProjectWide_Eclipse_test` is suppressed. <!-- 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/1109) <!-- Reviewable:end -->
☀️ Test successful - status-appveyor, status-travis |
Add necessary client capability support for new completion item kinds Implemented necessary capability support for new completion item kinds as mentioned in the [Initialize Params/ClientCapabilities/TextDocumentClientCapabilities/completionItemKind](https://microsoft.github.io/language-server-protocol/specification#initialize) ```typescript /** * The completion item kind values the client supports. When this * property exists the client also guarantees that it will * handle values outside its set gracefully and falls back * to a default value when unknown. * * If this property is not present the client only supports * the completion items kinds from `Text` to `Reference` as defined in * the initial version of the protocol. */ ``` After the change java tests were getting stuck and timing out. Updating version of jdt.ls resolves that issue but found out that there were some regressions as mentioned in #1109. So need to wait until it is merged. <!-- 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/1113) <!-- Reviewable:end -->
Add necessary client capability support for new completion item kinds Implemented necessary capability support for new completion item kinds as mentioned in the [Initialize Params/ClientCapabilities/TextDocumentClientCapabilities/completionItemKind](https://microsoft.github.io/language-server-protocol/specification#initialize) ```typescript /** * The completion item kind values the client supports. When this * property exists the client also guarantees that it will * handle values outside its set gracefully and falls back * to a default value when unknown. * * If this property is not present the client only supports * the completion items kinds from `Text` to `Reference` as defined in * the initial version of the protocol. */ ``` After the change java tests were getting stuck and timing out. Updating version of jdt.ls resolves that issue but found out that there were some regressions as mentioned in #1109. So need to wait until it is merged. <!-- 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/1113) <!-- Reviewable:end -->
[READY] Update ycmd Include the following changes: - PR ycm-core/ycmd#1075: remove Node.js workaround for Debian-based distributions; - PR ycm-core/ycmd#1077: update Boost to 1.68; - PR ycm-core/ycmd#1078: add semantic trigger for Julia; - PR ycm-core/ycmd#1081: improve type information on C++ member functions; - PR ycm-core/ycmd#1086: check if Python headers are installed before building; - PR ycm-core/ycmd#1088: raise proper exception for commands when file is still being parsed in C-family languages; - PR ycm-core/ycmd#1098: update Go completer; - PR ycm-core/ycmd#1099: update regex submodule; - PR ycm-core/ycmd#1100: add Python path to debugging information; - PR ycm-core/ycmd#1103: support framework headers completion and code navigation in C-family languages; - PR ycm-core/ycmd#1107: update Clang to 7.0.0; - PR ycm-core/ycmd#1109: update jdt.ls to 0.25.0; - PR ycm-core/ycmd#1110: handle null hover response from language servers; - PR ycm-core/ycmd#1111: update list of completion kinds defined by LSP; - PR ycm-core/ycmd#1113: send completion item kinds capability to language servers; - PR ycm-core/ycmd#1116: update Parso to 0.3.1 and Jedi to 0.13.1. Closes #3138. Closes #3145. <!-- 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/3175) <!-- Reviewable:end -->
Some changes were required:
{ 'language': 'java', 'value': 'some value' }
is returned instead of[ { 'language': 'java', 'value': 'some value' } ]
;a-quite-long-string
is not a valid Java identifier);The
PollForMessagesTimeoutException
exception fromPoll_Diagnostics_ProjectWide_Eclipse_test
is suppressed.This change is