Skip to content

Commit

Permalink
bootstrap: install vscode with extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidandreoletti committed Apr 10, 2024
1 parent 0223ed7 commit 62f9621
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
13 changes: 11 additions & 2 deletions install/bootstrap_apps_gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,17 @@ if is_profile_admin_or_similar; then


# VSCode
#is_macos && homebrew_brew_cask_install "visual-studio-code"
#is_fedora && fedora_dnf_install "code"
is_macos && homebrew_brew_cask_install "visual-studio-code"
is_fedora && fedora_dnf_install "code"

# VSCode Extensions
vscode_install_extension "ms-vscode-remote.remote-ssh" # Remote SSH Extension: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh
vscode_install_extension "eamodio.gitlens" # Git Explorater Extension
vscode_install_extension "ms-python.python" # Python Extension
vscode_install_extension "ms-toolsai.jupyter" # Jupyter Extension
vscode_install_extension "ms-toolsai.datawrangler" # Data wrangler for Jupyter Notebook
vscode_install_extension "ms-azuretools.vscode-docker" # Docker Extension
vscode_install_extension "continue.continue" # LLM autopilot

# Ngrok
is_macos && homebrew_brew_cask_install "ngrok"
Expand Down
1 change: 1 addition & 0 deletions install/bootstrap_fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ source "${BOOSTRAP_DIR}/common/shell/user_password.sh"
source "${BOOSTRAP_DIR}/common/shell/container.sh"
source "${BOOSTRAP_DIR}/common/shell/systemd.sh"
source "${BOOSTRAP_DIR}/common/shell/ci.sh"
source "${BOOSTRAP_DIR}/common/shell/vscode.sh"
source "${BOOSTRAP_DIR}/fedora/shell/sudoers.sh"
source "${BOOSTRAP_DIR}/fedora/shell/vnc.sh"
source "${BOOSTRAP_DIR}/fedora/shell/ssh.sh"
Expand Down
1 change: 1 addition & 0 deletions install/bootstrap_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ source "${BOOSTRAP_DIR}/common/shell/user_password.sh"
source "${BOOSTRAP_DIR}/common/shell/container.sh"
source "${BOOSTRAP_DIR}/common/shell/systemd.sh"
source "${BOOSTRAP_DIR}/common/shell/ci.sh"
source "${BOOSTRAP_DIR}/common/shell/vscode.sh"
source "${BOOSTRAP_DIR}/macosx/shell/sudoers.sh"
source "${BOOSTRAP_DIR}/macosx/shell/xcode.sh"
source "${BOOSTRAP_DIR}/macosx/shell/dmg.sh"
Expand Down
6 changes: 6 additions & 0 deletions install/common/shell/vscode.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
vscode_install_extension() {
local name="$1"

vscode="$(command which code)"
$vscode --install-extension "$name"
}

0 comments on commit 62f9621

Please sign in to comment.