Skip to content

Add solargraph-rspec for better DX when working with specs

Leke Mula requested to merge lekemula1/gitlab:lm-add-solargraph-rspec into master
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

Hi there,

I was doing some performance tests for my new Solargraph plugin for RSpec with your great project, being one of the largest ruby code bases happening to be using this Ruby Language Server for code completion.

This actually led to finding very useful insights on how to configure the gem in a way that avoids any boot overhead!

So I thought I to give something back to you by leaving this PR with the necessary configs for trying it out.

Feel free to do whatever you want with it. Any feedback is highly appreciated!

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After

How to set up and validate locally

Just open your project on an IDE configured with Solargraph and test let/subject method definitions, type inference, and completions. See readme for the list of supported features.

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading