Sample Browser

nRF Connect for VS Code

tags
nRF Connect for VS Code

Sample Browser

The old workflow for creating new applications did not differentiate between scenarios where you wanted to start a new project, and when you just wanted to try a sample from the SDK. As a result, the only way to find samples with the sample browsers was to copy them out into a separate directory, as if you were starting a new project.

Just running a sample is a distinctly different workflow, and from this release, it will be presented as such.

The new Browse samples action is available from the Welcome view in the sidebar, and lets you search through samples with the same menu as you do in the new Create a new application workflow. When browsing samples, you will no longer be forced to copy the sample to a separate directory, but can instead open it directly in the SDK.

Caution

When opening a sample in the SDK, and changes you make to the sample code will change your SDK installation, which can cause issues later if you want to change the SDK to a different version. Because of this, we highly recommend using the Create a new application workflow if you want to change the sample code.