From 689166f5fe8793ff011db382950b194fce757d82 Mon Sep 17 00:00:00 2001 From: Ammar Bandukwala Date: Tue, 25 Jul 2023 18:03:02 +0000 Subject: [PATCH] docs: explain how to install the JFrog VS Code extension --- docs/platforms/jfrog.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/platforms/jfrog.md b/docs/platforms/jfrog.md index f6ed7bd4c1fa7..3d601fc9863e0 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