<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kozy4324</author_name>
  <author_url>https://blog.hatena.ne.jp/kozy4324/</author_url>
  <blog_title>kozy4324の日記</blog_title>
  <blog_url>https://kozy4324.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>リクエストの振り分け RubyLsp::Server#process_message でリクエストの振り分けが書かれている。 https://github.com/Shopify/ruby-lsp/blob/v0.23.11/lib/ruby_lsp/server.rb#L13 今回見るのは textDocument/hover なので以下箇所から。 https://github.com/Shopify/ruby-lsp/blob/v0.23.11/lib/ruby_lsp/server.rb#L52-L53 引数で渡ってくる message のデータ構造が気になった。Sorbet の型だと …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkozy4324.hatenablog.jp%2Fentry%2F2025%2F03%2F12%2F234147&quot; title=&quot;Ruby LSP が textDocument/hover リクエストを処理する流れ - kozy4324の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kozy4324/20250312/20250312230927.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-03-12 23:41:47</published>
  <title>Ruby LSP が textDocument/hover リクエストを処理する流れ</title>
  <type>rich</type>
  <url>https://kozy4324.hatenablog.jp/entry/2025/03/12/234147</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
