Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Java autocompletion popup displaying wrong suggestion #2749

Open
didxga opened this issue Jun 22, 2019 · 1 comment
Open

Java autocompletion popup displaying wrong suggestion #2749

didxga opened this issue Jun 22, 2019 · 1 comment

Comments

@didxga
Copy link

didxga commented Jun 22, 2019

Oni Version: 0.3.9
Operating System:Mac Mojave

Issue: Java Autocomplete popup displaying wrong suggestion

Expected behavior: the Java autocomplete popup display the list of suggested functions based on user type

Actual behavior: all suggested functions are the same

Screenshot of the problem - the suggestion is wrong with all same functions:

1561129853972

Steps to reproduce: follow the instruction from:
official document

Here is my config.js - the relevant part is "language.java.languageServer":

"use strict";
exports.__esModule = true;
exports.activate = function (oni) {
    console.log("config activated");
    // Input
    //
    // Add input bindings here:
    //
    oni.input.bind("<c-enter>", function () { return console.log("Control+Enter was pressed"); });
    //
    // Or remove the default bindings here by uncommenting the below line:
    //
    // oni.input.unbind("<c-p>")
};
exports.deactivate = function (oni) {
    console.log("config deactivated");
};
exports.configuration = {
    //add custom config here, such as
    "ui.colorscheme": "onedark",
    // UI customizations
    "ui.animations.enabled": true,
    "ui.fontSmoothing": "auto",
    "language.java.languageServer.command": "/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java",
    "language.java.languageServer.arguments": [
     "-Declipse.application=org.eclipse.jdt.ls.core.id1",
     "-Dosgi.bundles.defaultStartLevel=4",
     "-Declipse.product=org.eclipse.jdt.ls.core.product",
     "-Dlog.level=NONE",
     "-noverify",
     "-Xmx1G",
     "-jar",
     "/Users/carterchen/DevTools/jdt-language-server-latest/plugins/org.eclipse.equinox.launcher_1.5.0.v20180119-0753.jar",
     "-configuration",
     "/Users/carterchen/DevTools/jdt-language-server-latest/config_mac",
     "-data"
 ],
 "language.java.languageServer.rootFiles": ["pom.xml"]
};

Best

@oni-bot
Copy link

oni-bot bot commented Jun 22, 2019

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant