Skip to content
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

disable/enable extension for specific language #78349

Closed
kanlukasz opened this issue Aug 1, 2019 · 3 comments
Closed

disable/enable extension for specific language #78349

kanlukasz opened this issue Aug 1, 2019 · 3 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@kanlukasz
Copy link

Hello

This can be a useful option - disable or enable a specific extension for a specific language.
It could be identify by extension id

Maybe something like:
obraz

@sandy081
Copy link
Member

sandy081 commented Aug 2, 2019

What do you mean by disabling or enabling an extension per language?

@sandy081 sandy081 added the info-needed Issue requires more information from poster label Aug 2, 2019
@kanlukasz
Copy link
Author

For example, I'm using a plugin like Highlight Matching Tag. I want to use it for XML files, but I do not want to use it in HTML files at the same time

The next example is that I use the Prettier plugin. I would like it to function only in JS files.

These are two examples that immediately came to my mind, but I think there are more cases where it could be useful

@sandy081
Copy link
Member

I do not think it is possible by disabling the extension. Because we can disable an extension completely but not only for some files.

@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants