File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,8 @@ ENV HOME=/home/vscode
55SHELL [ "/bin/bash" , "-c" ]
66RUN <<'SCRIPT'
77set -eux
8- REAL_JB_DATA_DIR="/usr/local/gitpod/shared/jetbrains/.local/share"
9- SYMLINK_JB_DIR="$HOME/.local/share/JetBrains"
10- PLUGINS_DIR="$REAL_JB_DATA_DIR/plugins"
118
9+ # Customize your plugins and IDEs here
1210plugins=(
1311 "https://plugins.jetbrains.com/plugin/download?rel=true&updateId=780441" # Copied from https://plugins.jetbrains.com/plugin/7808-terraform-and-hcl/versions/stable -> 2025.1.3
1412 "https://plugins.jetbrains.com/plugin/download?rel=true&updateId=780445" # Copied from https://plugins.jetbrains.com/plugin/6351-dart/versions/stable -> 2025.1.3
@@ -18,13 +16,16 @@ ides=(
1816 "WebStorm2025.1"
1917)
2018
19+ # No need to touch the installation logic below
20+ REAL_JB_DATA_DIR="/usr/local/gitpod/shared/jetbrains/.local/share"
21+ SYMLINK_JB_DIR="$HOME/.local/share/JetBrains"
22+ PLUGINS_DIR="$REAL_JB_DATA_DIR/plugins"
2123mkdir -m 0777 -p "$PLUGINS_DIR" "${SYMLINK_JB_DIR%/*}" && cd "$PLUGINS_DIR"
2224ln -sf "$REAL_JB_DATA_DIR" "$SYMLINK_JB_DIR"
2325for plugin in "${plugins[@]}" ; do {
2426 curl -L "$plugin" -o /tmp/download
2527 unzip /tmp/download
2628} done
27-
2829for ide in "${ides[@]}" ; do {
2930 mkdir -p "$JB_DIR/$ide"
3031 ln -sf "$PLUGINS_DIR/" * "$JB_DIR/$ide/"
You can’t perform that action at this time.
0 commit comments