From ee652d525d20009b71e0a7340ba9b2cee8e00027 Mon Sep 17 00:00:00 2001 From: Ammar Bandukwala Date: Tue, 25 Jul 2023 13:06:30 -0500 Subject: [PATCH] docs: explain how to install the JFrog VS Code extension (#8724) --- docs/platforms/jfrog.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/platforms/jfrog.md b/docs/platforms/jfrog.md index f6ed7bd4c1..3d601fc986 100644 --- a/docs/platforms/jfrog.md +++ b/docs/platforms/jfrog.md @@ -131,6 +131,22 @@ Access token: ... Default: true ``` +## Installing the JFrog VS Code Extension + +You can install the JFrog VS Code extension into workspaces automatically +by inserting the following lines into your `startup_script`: + +```sh + # Install the JFrog VS Code extension. + # Find the latest version number at + # https://open-vsx.org/extension/JFrog/jfrog-vscode-extension. + JFROG_EXT_VERSION=2.4.1 + curl -o /tmp/jfrog.vsix -L "https://open-vsx.org/api/JFrog/jfrog-vscode-extension/$JFROG_EXT_VERSION/file/JFrog.jfrog-vscode-extension-$JFROG_EXT_VERSION.vsix" + /tmp/code-server/bin/code-server --install-extension /tmp/jfrog.vsix +``` + +Note that this will method will only work if your developers use code-server. + ## Configuring npm Add the following line to your `startup_script` to configure `npm` to use