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:
Click File > Open Workspace from File.
This opens the host machine's home directory.
Go to your fuchsia-getting-started
directory.
Select the getting-started.code-workspace
file.
Click Yes, I trust the authors.
A pop-up message appears at the bottom right corner of VS Code.
Click Install.
This installed the following extensions:
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.
The layout diagram below shows the parts in VS Code that are relevant in this guide: