Skip to content

Commit

Permalink
List install VS Code extensions as part of --doctor
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Jul 31, 2024
1 parent 24076cb commit eb82e6e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions exe/ruby-lsp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ if options[:doctor]
puts "indexing: #{indexable.full_path}"
index.index_single(indexable)
end

result = system("code --list-extensions --show-versions")
if result # will be false if `code` is not available
"VS Code extensions:"
end

return
end

Expand Down

0 comments on commit eb82e6e

Please sign in to comment.