Skip to content

Commit 107ff6e

Browse files
committed
feat: multiple JetBrains IDEs - 80 char width changes
1 parent c2df880 commit 107ff6e

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

workspaces/multi-jetbrains-in-browser.md

+18-10
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ be used.
1212
> Using additional JetBrains IDEs consume additional workspace compute resources
1313
> so ensure the workspace compute resources settings are large enough.
1414
15-
![Multiple IntelliJ icons in a workspace](../assets/workspaces/multi-intellij-icons-smaller.png)
15+
![Multiple IntelliJ icons in a
16+
workspace](../assets/workspaces/multi-intellij-icons-smaller.png)
1617

1718
1. Build a custom image that installs the primary JetBrains IDE, copies the
1819
configure script, .profile script, and the config.yaml file into the image.
@@ -24,7 +25,8 @@ be used.
2425
2526
# Install IntelliJ IDEA Ultimate
2627
RUN mkdir -p /opt/idea
27-
RUN curl -L "https://download.jetbrains.com/product?code=IU&latest&distribution=linux" \
28+
RUN curl -L \
29+
"https://download.jetbrains.com/product?code=IU&latest&distribution=linux" \
2830
| tar -C /opt/idea --strip-components 1 -xzvf -
2931
3032
# Create a symbolic link in PATH that points to the Intellij startup script.
@@ -52,10 +54,10 @@ be used.
5254
export PATH=$PATH:$HOME/.local/bin
5355
```
5456
55-
1. The configure script installs the Projector CLI into `/home/coder` and uses the CLI to
56-
install additional JetBrains IDEs. Each IDE configuration has a different
57-
directory in `/home/coder/.projector/configs`. In this example, the configure
58-
script in the directory that has the image Dockerfile.
57+
1. The configure script installs the Projector CLI into `/home/coder` and uses
58+
the CLI to install additional JetBrains IDEs. Each IDE configuration has a
59+
different directory in `/home/coder/.projector/configs`. In this example, the
60+
configure script in the directory that has the image Dockerfile.
5961
6062
> Note that each additional IDE needs a different port number
6163
@@ -73,11 +75,17 @@ be used.
7375
PROJECTOR_CONFIG_PATH=$HOME/.projector/configs/IntelliJ_2
7476
7577
if [ -d $PROJECTOR_CONFIG_PATH ]; then
76-
echo 'projector has already been configured and IntelliJ IDE downloaded - skip step'
78+
echo 'projector has already been configured - skip step'
7779
else
78-
$HOME/.local/bin/projector ide autoinstall --config-name IntelliJ_2 --ide-name "IntelliJ IDEA Ultimate 2021.3.2" --port 8997 --use-separate-config
79-
$HOME/.local/bin/projector ide autoinstall --config-name IntelliJ_3 --ide-name "IntelliJ IDEA Ultimate 2021.3.2" --port 8998 --use-separate-config
80-
$HOME/.local/bin/projector ide autoinstall --config-name IntelliJ_4 --ide-name "IntelliJ IDEA Ultimate 2021.3.2" --port 8999 --use-separate-config
80+
$HOME/.local/bin/projector ide autoinstall --config-name IntelliJ_2 \
81+
--ide-name "IntelliJ IDEA Ultimate 2021.3.2" --port 8997 \
82+
--use-separate-config
83+
$HOME/.local/bin/projector ide autoinstall --config-name IntelliJ_3 \
84+
--ide-name "IntelliJ IDEA Ultimate 2021.3.2" --port 8998 \
85+
--use-separate-config
86+
$HOME/.local/bin/projector ide autoinstall --config-name IntelliJ_4 \
87+
--ide-name "IntelliJ IDEA Ultimate 2021.3.2" --port 8999 \
88+
--use-separate-config
8189
fi
8290
```
8391

0 commit comments

Comments
 (0)