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

Signature help should select the 1st parameter after the opening round bracket #947

Closed
fbricon opened this issue Mar 1, 2019 · 0 comments

Comments

@fbricon
Copy link
Contributor

fbricon commented Mar 1, 2019

With "java.signatureHelp.enabled": true, given:

public class App {

    public void foo() {
        bar
    }

    public void bar(String p1, String p2) {
    }
}

When you add the parentheses after bar, the 1st param from the signature help is not selected. adding spaces would select it. This should not be necessary to select the 1st param. Looks like there's an off-by-1 error in the signature help resolution algo.

mar-01-2019 16-37-12

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

No branches or pull requests

2 participants