Adicionar lab-redes/conf-runonsave.sh

This commit is contained in:
Jurandy Soares 2025-01-30 01:19:30 +00:00
parent eb1045d1bc
commit 9e59e8a1af
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
#!/bin/bash
extensoes=(
emeraldwalk.runonsave
ms-python.debugpy
ms-python.python
ms-python.vscode-pylance
)
for ext in "${extensoes[@]}"
do
code --install-extension "${ext}"
done
cat <<EOF > ~/.config/Code/User/settings.json
{
"extensions.autoUpdate": false,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000
}
EOF
cd /tmp && \
curl -O https://gilito.com.pt/ci/emeraldwalk.runonsave-0.2.7.zip && \
unzip -o emeraldwalk.runonsave-0.2.7.zip && \
cd ~/.vscode/extensions/ && \
rm -rf emeraldwalk.runonsave-0.2.7 && \
mv /tmp/emeraldwalk.runonsave-0.2.7 .