-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathinstall-ext-mac.sh
executable file
·26 lines (18 loc) · 1.13 KB
/
install-ext-mac.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env bash
# Install Visual Studio Code Extensions for macOS. Based on https://code.visualstudio.com/docs/setup/mac
set -e # Exit when any command fails.
set -x # Echo all commands.
# Where the VSCode executable is located.
codedir="/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
# Install the Task Running Extension which allows us to run tasks by clicking the task in the Task Runner pane.
"$codedir/code" --install-extension sanaajani.taskrunnercode --force
# Install the Cortex Debugger Extension for debugging Blue Pill programs.
"$codedir/code" --install-extension marus25.cortex-debug --force
# Install C++ Intellisense to provide C++ code navigation.
"$codedir/code" --install-extension ms-vscode.cpptools --force
# Install Rust Language Service Extension to provide Rust code navigation.
"$codedir/code" --install-extension rust-lang.rust --force
# Install Better TOML Extension for editing Config.toml in Rust.
"$codedir/code" --install-extension bungcip.better-toml --force
set +x # Stop echoing all commands.
echo ✅ ◾ ️Done! Please restart Visual Studio Code to activate the extensions