Skip to content

Provide completion for keyword arguments in method calls #2913

Open
@vinistock

Description

@vinistock

If we know exactly which method the user is currently typing, we can provide completion for the keyword arguments required to invoke that method.

E.g.:

class Foo
  def bar(a:, b:)
  end

  def baz
    baz()
      #^^ when the cursor is here we can show `a` and `b` as possible symbol completions
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp-wantedExtra attention is neededpinnedThis issue or pull request is pinned and won't be marked as staleserverThis pull request should be included in the server gem's release notes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions