Skip to content

Allow disabling project addons #3418

@kriansa

Description

@kriansa

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.

Activity

egiurleo

egiurleo commented on May 1, 2025

@egiurleo
Contributor

Hi, @kriansa! We don't have any capacity to work on this right now, but if you wanted to open a PR, we'd b happy to review.

vinistock

vinistock commented on May 5, 2025

@vinistock
Member

Hey, @kriansa. Can you explain why you'd want to disable an add-on? In your specific example, would turning off auto formatting be enough?

domingo2000

domingo2000 commented on May 22, 2025

@domingo2000
Contributor

I found this to be usefull in our organization. We created an addon that some users like, but other don't, for example because of code lens they do not use and make noise in their editor.

Also some addons can consume some CPU/Ram resources in low end PCs.

We had to implement the enable/disable logic in the addon itself. But it should be nice if this is standarized for all addons based on the addon settings. I opened a PR to address this issue, happy to get feedback.

andy-farmfocus

andy-farmfocus commented on Jun 12, 2025

@andy-farmfocus

Chiming in... I would love to be able to disable the rspec plugin as it is interfering with another extension I use for providing code lens prompts and gutter icons etc.

github-actions

github-actions commented on Aug 12, 2025

@github-actions
Contributor

This issue is being marked as stale because there was no activity in the last 2 months

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp-wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @kriansa@egiurleo@vinistock@domingo2000@andy-farmfocus

      Issue actions

        Allow disabling project addons · Issue #3418 · Shopify/ruby-lsp