Isn't it an extension for JSX? Why enable it for .js and .ts files?
|
export const activate = (context: vscode.ExtensionContext) => { |
|
context.subscriptions.push( |
|
vscode.languages.registerCodeActionsProvider( |
|
{ pattern: "**/*.{js,jsx,ts,tsx}", scheme: "file" }, |
|
new CodeActionProvider() |
|
) |
|
); |
At least, if you have reason to do so, could you provide a setting in order to change that? It would be nice!
VSCode is getting slower and slower while adding extensions and working with typescript on large projects, so I think this is vital to not overcharge VSCode routines when it comes to completion and stuff in files where it is not needed. I noticed that issue because VSCode was hanging on a pure .ts file save action with the name of this extension.
Thanks for your work! 😉
Isn't it an extension for JSX? Why enable it for
.jsand.tsfiles?vscode-react-refactor/src/extension.ts
Lines 26 to 32 in 2dcbee3
At least, if you have reason to do so, could you provide a setting in order to change that? It would be nice!
VSCode is getting slower and slower while adding extensions and working with typescript on large projects, so I think this is vital to not overcharge VSCode routines when it comes to completion and stuff in files where it is not needed. I noticed that issue because VSCode was hanging on a pure
.tsfile save action with the name of this extension.Thanks for your work! 😉