Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install instructions on VS Code doc #1002

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 2 additions & 24 deletions docs/tools/vscode-extension/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,8 @@ Note that most editing features (type checking, code completion, etc.) are imple

## Installation

To install the extension, ensure you [have VS Code installed](https://code.visualstudio.com/docs/setup/mac)
and have configured the [`code` command line interface](https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line).

### Using the Flow CLI

The recommended way to install the latest released version is to use the Flow CLI.

```shell script
brew install flow-cli
```

Check that it's been installed correctly.

```shell script
flow version
```

Next, use the CLI to install the VS Code extension.

```shell script
flow cadence install-vscode-extension
```

Restart VS Code and the extension should be installed!
To install the extension, ensure you have the [VS Code IDE installed](https://code.visualstudio.com/docs/setup/mac).
Then, you can install the Cadence extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=onflow.cadence).

## Developing the Extension

Expand Down
Loading