Skip to content

Commit

Permalink
Merge branch 'edge' into jasonviviano/kubernetes-incremental-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonviviano authored Oct 30, 2023
2 parents 5c92d79 + 3f1f7a0 commit a2d447b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions docs/layouts/shortcodes/edge.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{ $content := .Inner }}

{{ if eq $version "edge" }}
{{ $content }}
{{ (print "\n" $content "\n") | markdownify }}
{{ else }}
To try out an unstable release visit the [edge docs](https://edge.docs.radapp.io).
{{ (print "\n" "To try out an unstable release visit the [edge docs](https://edge.docs.radapp.io)." "\n") | markdownify }}
{{ end }}
4 changes: 2 additions & 2 deletions docs/layouts/shortcodes/latest.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{ $content := .Inner }}

{{ if ne $version "edge" }}
{{ $content }}
{{ (print "\n" $content "\n") | markdownify }}
{{ else }}
To try out a stable release visit the [latest docs](https://docs.radapp.io).
{{ (print "\n" "To try out a stable release visit the [latest docs](https://docs.radapp.io)." "\n") | markdownify }}
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ Visual Studio Code offers the best authoring experience for Radius and Bicep. Do
{{< alert title="Disable the official Bicep extension" color="warning" >}}
You can only have one VSCode Bicep extension installed at a time. To build on Radius, you will need to uninstall the official Bicep and use only the Radius Bicep extension.
{{< /alert >}}

{{< latest >}}
1. To install the Radius Bicep extension, search for Radius Bicep in the Extensions tab in VSCode or in the [Visual Studio marketplace](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.rad-vscode-bicep&ssr=false#overview)

<img src="/installation/vscode-bicep/images/radius-bicep.png" alt="Screenshot of Radius Bicep extension in VSCode Marketplace " width=500px>
<img src="/installation/vscode-bicep/images/radius-bicep.png" alt="Screenshot of Radius Bicep extension in VSCode Marketplace " width=500px><br></br>

2. Select Install

To verify you've installed the extension, open any file with the .bicep file extension and start [authoring Radius application]({{< ref author-apps >}}) to verify the auto-complete and other validation features.

{{< /latest >}}
{{< edge >}}
1. Visit the [GitHub Actions runs](https://github.com/radius-project/bicep/actions/workflows/radius-build.yml?query=event%3Apush+branch%3Abicep-extensibility)
2. Click on the latest successful run
3. Scroll down to Artifacts and download `release`
4. Extract the archive and Install the `rad-vscode-bicep.vsix` file:
In VSCode, manually install the extension using the *Install from VSIX* command in the Extensions view command drop-down.

<img src="/installation/vscode-bicep/images/vsix-install.png" alt="Screenshot of installing a vsix extension" width=400>
<img src="/installation/vscode-bicep/images/vsix-install.png" alt="Screenshot of installing a vsix extension" width=400><br>

You can also import this extension on the [command-line](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix) with:

Expand All @@ -28,7 +28,6 @@ To verify you've installed the extension, open any file with the .bicep file ext
```
If you're on macOS, make sure to [setup the `code` alias](https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line).

5. If running on Windows Subsystem for Linux (WSL), make sure to install the extension in WSL as well:

<img src="/installation/vscode-bicep/images/wsl-extension.png" alt="Screenshot of installing a vsix extension in WSL" width=400>
5. If running on Windows Subsystem for Linux (WSL), make sure to install the extension in WSL as well:<br>
<img src="/installation/vscode-bicep/images/wsl-extension.png" alt="Screenshot of installing a vsix extension in WSL" width=400>
{{< /edge >}}

0 comments on commit a2d447b

Please sign in to comment.