wix-incubator / vscode-glean

The extension provides refactoring tools for your React codebase
MIT License
1.46k stars 56 forks source link

Please disable the extension for plain text files #69

Closed rbadapanda closed 5 years ago

borislit commented 5 years ago

@rbadapanda I agree. This was done intentionally a while back, but is not longer relevant. Care for a PR? Should be an easy fix You need to change the activation event here: https://github.com/wix/vscode-glean/blob/master/package.json#L21 We should use onLanguage activation event (https://code.visualstudio.com/api/references/activation-events#onLanguage) listing the relevant language(javascript, javascript react, typescript, typescript react)

rbadapanda commented 5 years ago

@borislit I created a PR - https://github.com/wix/vscode-glean/pull/70 - for the same.

Please take a look.

Thanks!

borislit commented 5 years ago

@rbadapanda merged! Thanks!