Skip to content

Allow disabling project addons #3418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
kriansa opened this issue Apr 28, 2025 · 3 comments · May be fixed by #3523
Open
1 task done

Allow disabling project addons #3418

kriansa opened this issue Apr 28, 2025 · 3 comments · May be fixed by #3523
Labels
enhancement New feature or request help-wanted Extra attention is needed

Comments

@kriansa
Copy link

kriansa commented Apr 28, 2025

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.

@kriansa kriansa added the enhancement New feature or request label Apr 28, 2025
@egiurleo egiurleo added the help-wanted Extra attention is needed label May 1, 2025
@egiurleo
Copy link
Contributor

egiurleo commented May 1, 2025

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
Copy link
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
Copy link
Contributor

domingo2000 commented May 22, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help-wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants