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

update language client to adopt call hierarchy #1194

Conversation

testforstephen
Copy link
Collaborator

Signed-off-by: Jinbo Wang jinbwan@microsoft.com

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
@testforstephen
Copy link
Collaborator Author

✓ Extension should be present
rejected promise not handled within 1 second: Error: Message could not be parsed.
stack trace: Error: Message could not be parsed.
at handleResponse (/home/travis/build/redhat-developer/vscode-java/dist/extension.js:53489:48)
at processMessageQueue (/home/travis/build/redhat-developer/vscode-java/dist/extension.js:53316:17)
at Immediate. (/home/travis/build/redhat-developer/vscode-java/dist/extension.js:53300:13)
at processImmediate (internal/timers.js:439:21)

This is the travis ci failure exception. The reason is the language server throws exception during parsing the LSP data.

The tests are using the http://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz bits, which has compatible issue with the latest language client. The language client has changed the diagnostics tagSupport capabilities from Boolean to an array so that the existing language server throws jsonrpc exception during initialization. This will be fixed in the server side call hierarchy PR.

@@ -17,7 +17,7 @@ export function prepareExecutable(requirements: RequirementsData, workspacePath,
const executable: Executable = Object.create(null);
const options: ExecutableOptions = Object.create(null);
options.env = process.env;
options.stdio = 'pipe';
// options.stdio = 'pipe';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the line altogether

@fbricon
Copy link
Collaborator

fbricon commented Dec 18, 2019

merged as 7f005ee

Thanks @testforstephen

@fbricon fbricon closed this Dec 18, 2019
@testforstephen testforstephen deleted the jinbo_callhierarchy branch December 19, 2019 01:27
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.

2 participants