Rename Request while using ruby-lsp doesn't work #12853
-
SummaryThis is my [language-server.ruby-lsp]
command = "ruby-lsp"
config = { diagnostics = true, formatting = true }
[language-server.tailwindcss-ls]
command = "tailwindcss-language-server"
args = ["--stdio"]
[[language]]
formatter = { command = "htmlbeautifier", args = ["-T", "--keep-blank-lines=1"]}
language-servers = ["vscode-html-language-server", "tailwindcss-ls", "ruby-lsp"]
name = "erb"
[[language]]
formatter = { command = "prettier", args = ["--parser", "css"] }
language-servers = ["vscode-css-language-server", "tailwindcss-ls"]
name = "css"
[[language]]
language-servers = ["ruby-lsp"]
name = "ruby" Now for a file like <% content_for :title, "Targets" %>
<div class="space-y-12">
<div class="flex">
<h1 class="flex-1 text-4xl font-semibold">
<%= content_for :title %>
</h1>
</div>
</div> If I try to rename a symbol ( This issue occurs only with the rename symbol command; other LSP features function correctly even when EDIT: It seems rename request doesn't work with Ruby files as well.Reproduction StepsI tried this:
I expected this to happen: Instead, this happened: Helix log~/.cache/helix/helix.log
PlatformWindows (w/ WSL2) Terminal EmulatorWindows Terminal Installation Methodapt Helix Versionhelix 25.01.1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It looks like Ruby LSP's "Rename symbol" feature doesn't work for all types, per the docs:
|
Beta Was this translation helpful? Give feedback.
It looks like Ruby LSP's "Rename symbol" feature doesn't work for all types, per the docs:
https://shopify.github.io/ruby-lsp/#rename-symbol