"Format on Save" hangs indefinitely in VS Code
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- ruby, vscode
調査の方向性
Start by reproducing the hang in a Ruby file in sinatra/mustermann or rkh/farce, then inspect the Ruby LSP formatting path and the VS Code extension logs while saving. The report does not identify a failing test or code entry point, so first narrow down whether formatting, RuboCop, or the editor integration stalls. Done means identifying and fixing the cause so repeated saves complete without hanging.
索引モデルが issue の本文から書いたものです。
説明
Description
"Format on Save" hangs indefinitely in VS Code for me. How can I figure out why? This is happening in multiple projects. But sometimes the dialog doesn't appear at all. It's super frustrating not being able to save code easily.
Ruby LSP Information
VS Code Version
1.144.0
Ruby LSP Extension Version
0.10.8
Ruby LSP Server Version
0.26.11
Ruby LSP Add-ons
- RuboCop (1.92.1)
Ruby Version
4.0.9
Ruby Version Manager
mise
Installed Extensions
Click to expand
- EditorConfig (0.18.2)
- astro-vscode (2.16.20)
- atom-keybindings (3.3.0)
- cmake-tools (1.24.42)
- code-spell-checker (4.10.0)
- cpp-devtools (0.6.18)
- cpptools (1.35.6)
- cpptools-extension-pack (1.5.1)
- cpptools-themes (2.0.0)
- cursor-align (2.1.1)
- datawrangler (1.24.2)
- debugpy (2026.6.0)
- docker (0.18.0)
- elixir-ls (0.31.1)
- even-better-toml (0.21.2)
- geo-data-viewer (2.6.0)
- githistory (0.6.20)
- github-vscode-theme (6.3.5)
- gitlens (19.5.0)
- graphviz-preview (1.7.5)
- herb-lsp (0.11.1)
- isort (2026.6.0)
- java (1.58.0)
- language-gettext (0.5.0)
- makefile-tools (0.12.17)
- markdown-all-in-one (3.6.3)
- mise-vscode (1.32.0)
- phoenix (0.1.3)
- powershell (2025.4.0)
- prettier-vscode (12.4.0)
- python (2026.10.0)
- rainbow-csv (3.24.1)
- remote-containers (0.469.0)
- ruby-lsp (0.10.8)
- sass-indented (1.8.33)
- svg-preview (2.8.3)
- twig (1.0.2)
- visualjj (0.36.3)
- vscode-containers (2.5.3)
- vscode-docker (2.0.0)
- vscode-eslint (3.0.34)
- vscode-firefox-debug (2.15.0)
- vscode-github-actions (0.32.3)
- vscode-gradle (3.18.1)
- vscode-java-debug (0.60.0)
- vscode-java-dependency (0.27.7)
- vscode-java-pack (0.31.2)
- vscode-maven (0.46.0)
- vscode-mdx (1.8.18)
- vscode-mermaid-preview (2.2.1)
- vscode-pull-request-github (0.174.0)
- vscode-pylance (2026.4.1)
- vscode-rubocop (0.10.1)
- vscode-sanity (0.3.0)
- vscode-wasm (1.4.1)
- vscode-xml (0.29.3)
- vscode-zipfs (3.0.0)
Ruby LSP Settings
Click to expand
Workspace
{}
User
{
"enabledFeatures": {
"codeActions": true,
"diagnostics": true,
"documentHighlights": true,
"documentLink": true,
"documentSymbols": true,
"foldingRanges": true,
"formatting": true,
"hover": true,
"inlayHint": true,
"onTypeFormatting": true,
"selectionRanges": true,
"semanticHighlighting": true,
"completion": true,
"codeLens": true,
"definition": true,
"workspaceSymbol": true,
"signatureHelp": true,
"typeHierarchy": true
},
"featuresConfiguration": {},
"addonSettings": {},
"rubyVersionManager": {
"identifier": "auto"
},
"customRubyCommand": "",
"formatter": "auto",
"linters": null,
"bundleGemfile": "",
"testTimeout": 30,
"pullDiagnosticsOn": "both",
"useBundlerCompose": false,
"bypassTypechecker": false,
"rubyExecutablePath": "",
"indexing": {},
"erbSupport": true,
"featureFlags": {},
"sigOpacityLevel": "1"
}
Reproduction steps
Open the editor on a Ruby file in the sinatra/mustermann or rkh/farce repository. Edit the file. Save the file. Keep editing. Eventually, saving will stall, and after a while a dialog might appear that lets you skip the formatting step.
Once it starts happening, the issue doesn't go away until I restart VS Code.
- 主要言語
- Ruby
- スター
- 2k
- フォーク
- 300
- 平均マージ
- 2時間 54分
- マージ済み PR(30日)
- 9
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Shopify/ruby-lsp のほかの issue
-
Bundler settings containing spaces are rewritten with colons when composing the bundle対応中かも @efegokdemir が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Shopify/ruby-lsp#4275 · コメント 1 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Dependencies view: `getParent` loops forever on untitled documents, extension host runs out of memory対応中かも @efegokdemir が 44 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
Linux file system with square brackets in the directory/filename are failing to be indexed対応中かも @andriytyurnikov が 249 日前に担当しました。 オープンbug help-wanted pinned
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Shopify/ruby-lsp#3503 · コメント 9 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
Composed bundle rewrites project binstubs when Bundler bin is set対応中かも @efegokdemir が 1 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
Shopify/ruby-lsp の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
TarteelAI/quranic-universal-library#1111 ·
メンテナーはふだん 1 日以内に返信
-
Generated cask uses deprecated `postflight` stanza; Homebrew 7 warns on every command対応中かも @k4kratik が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
sachincool/cruft#4 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
riscv/riscv-unified-db#2859 ·
メンテナーはふだん 2 日以内に返信
-
agent-driven deployment documentation future releases nice to have
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
changesets
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openstreetmap/openstreetmap-website#7629 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信