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:
Click the Graphite icon in your VS Code sidebar (try dragging it to your sidebar!)
Run the Graphite: Open Graphite interactive command from the command palette
Define your own keyboard shortcut to run the
graphite.open-gti
command
Tip
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 for stacking
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 internal-only start
to run the extension's view in your web browser.