The Graphite VS Code extension builds directly off of the Graphite CLI - it allows you to break up large engineering tasks into a series of small, incremental code changes directly from your IDE.

Installation

In order to install the Graphite VS Code extension, make sure that you have the Graphite CLI installed.

After that, you can install the extension from the Visual Studio marketplace, or by searching for “Graphite” in the extensions tab of your IDE.

Launch the extension

You have a few options to start the VS Code extension:

You can modify the “Show in Sidebar” option in your VS Code settings to display the extension in an editor tab instead of a sidebar tab.

Current features

  • Visualize and manage your stacks within your IDE

  • Create new branches

  • Modify existing branches

  • Submit pull requests

  • Sync your trunk branch

  • First-class support forstacking

Upcoming features

We’re currently working on adding more functionality to the VS Code extension, including detail view for branches and their PRs, the ability to edit PRs via the extension, and more!

Don’t use VS Code?

We’re bringing the GUI to other IDEs soon! For now, you can run the (currently experimental) gt interactive to run the extension’s view in your web browser.