Skip to content
PluginStats

XState VSCode installs statistics

By Stately · VS Code Marketplace · Snippets

Visual editing, autocomplete and typegen for XState

View on VS Code Marketplace Fresh · Dec 6, 2026

XState VSCode has 94,959 recorded installs on VS Code Marketplace, an increase of 0.6% over the past 30 days, ranking #2461 of 2,515 tracked listings.

Installs
94,959
Official API · Dec 6, 2026
7-day growth
+0.1%
+101 installs
30-day growth
+0.6%
+529 installs
90-day growth
—
Insufficient history
Rank
#2461
▼ 1 in 7 days

Rating: 4.78 / 5 from 18 ratings

About XState VSCode

XState VSCode enhances the XState development experience by providing VSCode users with features like visual editing, autocomplete, typegen and linting.

Quickstart

  1. Install via the Visual Studio Code Marketplace →
  2. Once installed, you can run XState: Open Visual Editor from the command palette to open any machine at your cursor's location.
  3. If you have code lens enabled (this can be enabled using editor.codeLens setting), you'll also see 'Open Visual Editor' floating above each createMachine call.

Features

Visually edit machines

Edit any XState machine with drag-and-drop using the Stately Visual editor.

<img src="https://raw.githubusercontent.com/statelyai/xstate-tools/main/assets/editor.png" alt="" />
Autocomplete

Intelligent suggestions for transition targets and initial states.

<img src="https://raw.githubusercontent.com/statelyai/xstate-tools/main/assets/autocomplete.png" alt="" />
Linting

Highlights errors and potential bugs in your XState machine definitions.

<img src="https://raw.githubusercontent.com/statelyai/xstate-tools/main/assets/linting.png" alt="" />
Jump to definition

Navigate around machines easily with jump to definition on targets, actions, guards, services and more.

<img src="https://raw.githubusercontent.com/statelyai/xstate-tools/main/assets/jump-to-definition.png" alt="" />
Snippets (BETA)

As an experimental feature, we include a snippet with this extension, xsm, which is short for XStateMachine. Using this snippet, you can get a working machine you can edit using the visual editor in seconds.

You will get an untyped machine if you type xsm and expand in a js or jsx file.

import { createMachine } from 'xstate';
const toggleMachine = createMachine({
  id: 'toggle',
  initial: 'initialState',
  states: {
    initialState: {},
  },
});

https://user-images.githubusercontent.com/167574/171016896-455d7772-cbbd-4b4c-8d77-f96f98383e03.mp4

In a ts or tsx file you will get a machine using typegen:

import { createMachine } from 'xstate';
const demoMachine = createMachine({
  id: 'demo',
  tsTypes: {} as import('./test.typegen').Typegen0,
  schema: {
    context: {} as { value: string },
    events: {} as { type: 'FOO' },
  },
  context: {
    value: '',
  },
  initial: 'idle',
  states: {
    idle: {},
  },
});

https://user-images.githubusercontent.com/167574/171017059-d997a158-c307-4c95-8f66-46210835a56a.mp4

In vue files you'll get both options.

Hints and Tips

Ignoring machines

If you'd like to ignore linting/autocomplete on a machine, add a // xstate-ignore-next-line comment on the line above it:

// xstate-ignore-next-line
createMachine({});
Nesting typegen files

If you're using typegen, you can nest the files in VSCode.

We try to detect if you want to have your typegen files nested. This is set to true by default but can be disabled using the prompt we show in VSCode or by setting xstate.nestTypegenFiles to false.

<img src="https://raw.githubusercontent.com/statelyai/xstate-tools/main/assets/typegenPrompt.png" alt="typegen prompt" width="500px" />

If you choose to enable file nesting using the prompt, we will set the file nesting feature in VSCode to true and add a pattern to nest the generated files.

If you choose not to enable it, we will set xstate.nestTypegenFiles to false and won't ask again.

You can read about this in more detail in our blog post: Nesting XState typegen files.

Refactors

Click the lightbulb when hovering an named action, guard or service in a machine to see available refactors.

Description from the VS Code Marketplace listing.

  • autocomplete
  • javascript
  • javascriptreact
  • snippet
  • typescript
  • typescriptreact
  • visualize
  • vscode
  • xstate

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

XState VSCode installs on VS Code Marketplace, last 90 days: 94,959 installs as of Dec 6, 2026.XState VSCodeInstalls on VS Code Marketplace · Last 90 days94,959installs93.8K94K94.2K94.4K94.6K94.8K95KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
XState VSCode installs on VS Code Marketplace, last 90 days: 94,959 installs as of Dec 6, 2026.

7/30/90-day growth

XState VSCode installs growth on VS Code Marketplace: +0.1% over 7 days, +0.6% over 30 days, 90-day growth unavailable.XState VSCodeInstalls growth on VS Code Marketplace94,959installs now7-day growth+101 installs+0.1%30-day growth+529 installs+0.6%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
XState VSCode installs growth on VS Code Marketplace: +0.1% over 7 days, +0.6% over 30 days, 90-day growth unavailable.

Ranking history

XState VSCode VS Code Marketplace ranking history: currently #2461 (by installs).XState VSCodeVS Code Marketplace ranking · by installs · Last 90 days#2461current rank#2456#2458#2460#2462#2464Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
XState VSCode VS Code Marketplace ranking history: currently #2461 (by installs).

Ratings over time

XState VSCode ratings on VS Code Marketplace, last 90 days: 18 ratings as of Dec 6, 2026.XState VSCodeRatings on VS Code Marketplace · Last 90 days18ratings1616.51717.51818.51919.520Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
XState VSCode ratings on VS Code Marketplace, last 90 days: 18 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,258 shown · page 124, #5 (overall #2,465)
All VS Code Marketplace: every listing in installs order

Listing placement

Snippets490 listings · 25 pages · page 25, #1 (overall #481)
Snippets: every listing in installs order

Listing placement

Linters250 listings · 13 pages · page 13, #3 (overall #243)
Linters: every listing in installs order

Listing placement

Visualization75 listings · 4 pages · page 4, #15 (overall #75)
Visualization: every listing in installs order

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 (50)
Recent installs observations for XState VSCode
Date (UTC)InstallsChange vs. previous
94,959+4
94,955+21
94,934+14
94,920+29
94,891+24
94,867+5
94,862+4
94,858+10
94,848+10
94,838+26
94,812+13
94,799+33
94,766+12
94,754—

Similar VS Code Marketplace Snippets plugins

All 20 XState VSCode alternatives

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=statelyai.stately-vscode. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.