Module: RubyLsp

Defined in:
lib/ruby-lsp.rb,
lib/ruby_lsp/store.rb,
lib/ruby_lsp/utils.rb,
lib/ruby_lsp/server.rb,
lib/ruby_lsp/document.rb,
lib/ruby_lsp/executor.rb,
lib/ruby_lsp/listener.rb,
lib/ruby_lsp/requests.rb,
lib/ruby_lsp/extension.rb,
lib/ruby_lsp/check_docs.rb,
lib/ruby_lsp/event_emitter.rb,
lib/ruby_lsp/requests/hover.rb,
lib/ruby_lsp/requests/code_lens.rb,
lib/ruby_lsp/requests/formatting.rb,
lib/ruby_lsp/requests/diagnostics.rb,
lib/ruby_lsp/requests/inlay_hints.rb,
lib/ruby_lsp/requests/base_request.rb,
lib/ruby_lsp/requests/code_actions.rb,
lib/ruby_lsp/requests/document_link.rb,
lib/ruby_lsp/requests/folding_ranges.rb,
lib/ruby_lsp/requests/support/common.rb,
lib/ruby_lsp/requests/support/sorbet.rb,
lib/ruby_lsp/requests/document_symbol.rb,
lib/ruby_lsp/requests/path_completion.rb,
lib/ruby_lsp/requests/selection_ranges.rb,
lib/ruby_lsp/requests/document_highlight.rb,
lib/ruby_lsp/requests/on_type_formatting.rb,
lib/ruby_lsp/requests/support/annotation.rb,
lib/ruby_lsp/requests/code_action_resolve.rb,
lib/ruby_lsp/requests/support/prefix_tree.rb,
lib/ruby_lsp/requests/semantic_highlighting.rb,
lib/ruby_lsp/requests/support/rubocop_runner.rb,
lib/ruby_lsp/requests/support/selection_range.rb,
lib/ruby_lsp/requests/support/formatter_runner.rb,
lib/ruby_lsp/requests/support/highlight_target.rb,
lib/ruby_lsp/requests/support/rubocop_diagnostic.rb,
lib/ruby_lsp/requests/support/dependency_detector.rb,
lib/ruby_lsp/requests/support/rails_document_client.rb,
lib/ruby_lsp/requests/support/semantic_token_encoder.rb,
lib/ruby_lsp/requests/support/rubocop_formatting_runner.rb,
lib/ruby_lsp/requests/support/rubocop_diagnostics_runner.rb,
lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb

Overview

typed: strict frozen_string_literal: true

Defined Under Namespace

Modules: DependencyDetector, Requests Classes: CheckDocs, Document, EventEmitter, Executor, Extension, Job, Listener, Message, Notification, Request, Result, Server, Store

Constant Summary collapse

VERSION =
File.read(File.expand_path("../VERSION", __dir__)).strip
VOID =

Used to indicate that a request shouldn’t return a response

T.let(Object.new.freeze, Object)
WORKSPACE_URI =

This freeze is not redundant since the interpolated string is mutable

T.let(URI("file://#{Dir.pwd}".freeze), URI::Generic)
Interface =

rubocop:disable RubyLsp/UseLanguageServerAliases

LanguageServer::Protocol::Interface
Constant =
LanguageServer::Protocol::Constant
Transport =
LanguageServer::Protocol::Transport