glean installs statistics
By Wix (5 listings) · VS Code Marketplace · Programming Languages
The extension provides refactoring tools for your React codebase
glean has 269,594 recorded installs on VS Code Marketplace, ranking #1236 of 2,501 tracked listings.
Rating: 2.84 / 5 from 31 ratings
About glean
VSCode Glean
The extension provides refactoring tools for your React codebase
The extension provides refactoring tools for your React codebase: extract JSX into a new component, convert Class Components to Functional Components, wrapping with Hooks and more!
Highlights
- Allows extracting JSX into new component
- Allows converting Class Components to Functional Components and vice-verse
- Allows wrapping JSX with conditional
- Allows renaming state variables and their setters simultaneously.
- Allows wrapping code with
useMemo,useCallbackoruseEffect - Moving code between files
- Typescript support
- ES2015 modules support
- CommonJS modules support
Installation
Go to the link below and click Install.
Visual Studio Code Market Place: Glean
Features
Extracting JSX into a new Component
Glean allows easy extraction of JSX into new React components (in the same or other file). Just select the JSX to extract, and Glean will handle all the rest:
- Generate Class or Functional Component, such that the extracted JSX will continue to function.
- It will identify all inputs to the newly created component.
- Replace extracted JSX with newly created component, while providing it with all the props.

Converting Class Component to Functional Component
Glean seamlesly automates convertion of class components to functional component, while take care of all the complexity:
- Converts
setStatecalls touseState - Converts
componentDidMountandcomponentWillUnmounttouseEffect - Converts class properties to
useRef - Wraps call non-Lifecycle methods with
useCallback
WARNING!!! If You are using React version older than 16.8.0, This refactoring will delete all Lifecycle methods and setState calls!

Converting Functional Component to Class Component

Rename State Variable
Rename any state variable and let Glean rename its setter accordingly for You!

Wrap with Hook (useMemo, useCallback or useEffect)

Render Conditionally

Extract to file
Select text and either VSCode's code suggestion (aka "Lightbulb") or Command Pallet ('Extract to File' command) to extract the text.

Configuration Options
glean.jsModuleSystem (Default: 'esm')
Determines how the selected code will be exported/imported. Valid options are 'esm' and 'commonjs'.
glean.jsFilesExtensions (Default: [ "js", "jsx", "ts", "tsx" ])
List of extensions of files that should be treated as javascript files. This determines whether or not the snippet will be exported and imported. The snippet will be treated as javascript only if the extension of both origin and target files appears in this list.
glean.switchToTarget (Default: false)
Determines whether VSCode should switch to target file after extracting.
glean.experiments (Default: [])
A list of enabled experimental features. Available experimental features:
glean.showConversionWarning (Default: true)
Determines whether VSCode should show conversion warning when converting Class Component to Functional Component.
Contribute
Feel free to open issues or PRs!
Getting started
In order to start working all you need to do is:
$ git clone git@github.com:wix/vscode-glean.git
$ cd vscode-glean
$ npm install
$ code .
Running Extension
- Go to VSCode debug sidebar
- Select
Extensionfrom the dropdown - Hit
F5
Running Tests
- Go to VSCode debug sidebar
- Select
Extension Testsfrom the dropdown - Hit
F5
Commit messages
Please refer to to the following guide.
Description from the VS Code Marketplace listing.
- javascript
- javascriptreact
- jsx
- react
- refactoring
- typescript
- typescriptreact
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (5)Similar VS Code Marketplace Programming Languages plugins
All 20 glean alternativesglean on other marketplaces
Data source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=wix.glean. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.