class RubyLsp::Requests::Completion

The completion suggests possible completions according to what the developer is typing.

Currently supported targets: - Classes - Modules - Constants - Require paths - Methods invoked on self only

Example

require "ruby_lsp/requests" # --> completion: suggests `base_request`, `code_actions`, ...

RubyLsp::Requests:: # --> completion: suggests `Completion`, `Hover`, ...

Public Class Methods

new(document, global_state, position, typechecker_enabled, dispatcher)

Calls superclass method

provider()

Public Instance Methods

perform()