question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected list of suggestions when use Java languageserver

See original GitHub issue

Describe the bug

Unexpected list of suggestions when use Java languageserver

Che version

7.2.0-SNAPSHOT

Steps to reproduce

  • Create workspace with Java languageserver
  • Go to any Java class
  • Type String example = new String() example.
  • Place cursor after the dot of (example.)
  • Perform “ctrl + space combination”
  • Pay attention to the suggestion list

Expected behavior

Suggestion list displays a list with methods of "String" class

Observed dehavior

Suggestion list displays extra suggestions

Screenshot from 2019-09-25 17-31-17 Screenshot from 2019-09-25 17-31-26

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • [ x ] minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

Installation method

  • [ x ] chectl
  • che-operator
  • minishift-addon
  • I don’t know

Environment

  • my computer
    • Windows
    • [ x ] Linux
    • macOS
  • [ x ] Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: please specify

Additional context

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
Ohrimenko1988commented, Sep 26, 2019

@tsmaeder On these screenshots you may see that buttons “Run” and “Debug” didn’t appear but status bar shows that initialization completed. screenshot-Suggestion

Here how it should look like: Screenshot from 2019-09-26 12-08-29

This screencast confirmes that LS initialization was started and completed (according to status bar) screencast

Browser log

browserlogs-Suggestion.txt

Other possible logs

logs-and-configs.zip

0reactions
Ohrimenko1988commented, Nov 4, 2019

@tsmaeder I also can’t confirm that this problem is actual. Thank you for your investigation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Starting Java Language Server never ends · Issue #158 - GitHub
I have a node_modules directory, which naturally comes with quite a few symlinks, and cannot delete it and have this issue. Might be...
Read more >
Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >
vs code - Expected java package name error - Stack Overflow
I have a java project with the following directory structure (as required by Gradle's 'java' plugin, assuming all defaults).
Read more >
Microsoft/vscode-java-debug - Gitter
Hello! I am running into an error and cannot find a solution for it. Just trying to switch to VSCode for Java and...
Read more >
Language Server Protocol Specification - 3.17
This document describes the 3.17.x version of the language server protocol. ... The protocol use the following definitions for integers, ... Java, java....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found