blob: 498d8e9c0391df80e1d65a7c81cdb21182d6e1bf [file] [log] [blame] [view]
The Fuchsia SDK samples repository includes a `getting-started.code-workspace`
file. This configuration file sets up a VS Code workspace for the Fuchsia SDK
and recommends Fuchsia-specific VS Code extensions.
In VS Code, do the following:
1. Click **File > Open Workspace from File**.
This opens the host machine's home directory.
1. Go to your `fuchsia-getting-started` directory.
1. Select the `getting-started.code-workspace` file.
1. Click **Yes, I trust the authors**.
A pop-up message appears at the bottom right corner of VS Code.
1. Click **Install**.
This installed the following extensions:
* [Fuchsia VS Code extension][fuchsia-vscode-ext]{:.external}
* [FIDL extension][fidl-vscode-ext]{:.external}
* [Bazel extension][bazel-vscode-ext]{:.external}
Note: You may see more pop-ups recommending other extensions while using
VS Code. However, you can safely ignore them for the rest of this guide.
<!-- Reference links -->
[bazel-vscode-ext]: https://marketplace.visualstudio.com/items?itemName=BazelBuild.vscode-bazel
[fidl-vscode-ext]: https://marketplace.visualstudio.com/items?itemName=fuchsia-authors.language-fidl
[fuchsia-vscode-ext]: https://marketplace.visualstudio.com/items?itemName=fuchsia-authors.vscode-fuchsia