wix-incubator / vscode-glean

The extension provides refactoring tools for your React codebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please disable the extension for plain text files

rbadapanda opened this issue · comments

@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)

@borislit I created a PR - #70 - for the same.

Please take a look.

Thanks!

@rbadapanda merged! Thanks!