Shopify / Shopify/ruby-lsp

Allow disabling project addons

Open
#3,418 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help-wanted pinned
Dominant language
Ruby
Stars
2k
Forks
281
Avg merge
2h 14m
Merged PRs (30d)
6

Description

I have checked that this feature is not already implemented
  • This feature does not exist
Use case

I want to execute Ruby-LSP as vanilla as possible (i.e. only to provide code navigation), without any interference of gems in the project, such as Standard/Rubocop/etc.

Description

I see that this is partially implemented on Server class, but it's currently not exposed through any interface.

Are there any plans to allow users to permit/block project addons?

Implementation

I would keep it under an initialization flag.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read lib/ruby_lsp/server.rb around lines 176 and 357, then trace how server initialization options are exposed to users. Define the configuration path for permitting or blocking project addons, and verify that vanilla operation can disable them without affecting code navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.