sapling/website/docs/addons/vscode.md
Jun Wu 830ca4a73c website: "Foo Bar" => "Foo bar" title for more pages
Summary: Done by the script added in D41312633 (088f5efc9b).

Reviewed By: muirdm

Differential Revision: D41385131

fbshipit-source-id: e6bf1cd874bb870382fac147398a55f2851044d6
2022-11-21 11:51:00 -08:00

1.4 KiB

sidebar_position
15

import {SLCommand, ThemedImage} from '@site/elements'

VS Code extension

Sapling provides an extension for Visual Studio Code.

You can download the extension from the Microsoft Extension Marketplace, or by searching from the extensions tab inside VS Code.

:::caution

Sapling must be installed through the normal installation instructions in order for the vscode extension to work properly.

See installation instructions.

:::

Embedded interactive smartlog

Access the Interactive Smartlog (ISL) interface directly within VS Code, without needing to launch it with . Just run the Sapling: Open Interactive Smartlog command from the command palette.

VS Code source control API

Sapling also implements the VS Code API for source control:

  • You can see your uncommitted changes in the Source Control sidebar.
  • Files you change will have gutters that show what lines of code have changed.
  • You can open an editable diff viewer from the command palette with Sapling: Open Diff View For Current File