Skip to content

Specification to open a second completion after apply a completion item #565

Description

@angelozerr

One feature that I love when I write code is the completion apply which opens a second completion popup which suggests the values that you can insert after completion apply.

Here a Java demo which defines 2 int variables (i and j). When substring method completion is applied, it suggest completion popup for the substring parameters which are int.

applycompletiondemo

There are other usecases like HTML/XML (when completion for attribute is applied, it suggest values for attribute values, etc).

It should be cool if LSP could specify a new protocol to manage that (by extending completionItem/resolve?)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions