Skip to content

Verbose and irrelevant autocomplete entries #8

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

Closed
faxal opened this issue Dec 16, 2019 · 10 comments · Fixed by #9
Closed

Verbose and irrelevant autocomplete entries #8

faxal opened this issue Dec 16, 2019 · 10 comments · Fixed by #9
Labels
enhancement New feature or request

Comments

@faxal
Copy link

faxal commented Dec 16, 2019

20191216133109

Is there a way to have more relevant entries like that of visual studio code flutter plugin.

Additionally is it possible to show the doc entry after autocomplete is selected?

For example:

MaterialColor colors = MaterialColor(
                                    ^

Can it show document entry for MaterialColor constructor after ( is input?

@iamcco
Copy link
Owner

iamcco commented Dec 16, 2019

dart LSP server's issue.

output from dart LSP:

        {
            "id": "6",
            "method": "textDocument/signatureHelp",
            "registerOptions": {
                "triggerCharacters": [],
                "documentSelector": [
                    {
                        "language": "dart",
                        "scheme": "file"
                    }
                ]
            }
        }

the triggerCharacters is empty. so you need to trigger the signatureHelp yourself or:

Solutions:

Ask for dart LSP to support

Or

Handle this case by this extension.

@iamcco iamcco added the enhancement New feature or request label Dec 16, 2019
@faxal
Copy link
Author

faxal commented Dec 16, 2019

I think this is an issue with language server: dart-lang/sdk#38739

@faxal
Copy link
Author

faxal commented Dec 16, 2019 via email

@iamcco
Copy link
Owner

iamcco commented Dec 16, 2019

Yes, you have to update to version >= 1.0.9, but npm does not show the new version package.

@faxal
Copy link
Author

faxal commented Dec 17, 2019 via email

@iamcco
Copy link
Owner

iamcco commented Dec 17, 2019

Check out your (neo)vim version if support float windows

@faxal
Copy link
Author

faxal commented Dec 17, 2019 via email

@iamcco
Copy link
Owner

iamcco commented Dec 17, 2019

Can not reproduce.

image

@faxal
Copy link
Author

faxal commented Dec 25, 2019

Do you mind sharing your configuration

@faxal
Copy link
Author

faxal commented Dec 25, 2019

It works for me with the latest version 👍

Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants