From 70f7f108f76bf0a4186c31f0e9af5cce8a64fea8 Mon Sep 17 00:00:00 2001 From: Andy Waite <13400+andyw8@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:55:49 -0400 Subject: [PATCH] List install VS Code extensions as part of `--doctor` --- exe/ruby-lsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exe/ruby-lsp b/exe/ruby-lsp index 0613c1491..7a3286893 100755 --- a/exe/ruby-lsp +++ b/exe/ruby-lsp @@ -129,6 +129,10 @@ if options[:doctor] puts "indexing: #{indexable.full_path}" index.index_single(indexable) end + + # This will fail silently if `code` is not available + system("code --list-extensions --show-versions") + return end