Adicionar lab-redes/conf-runonsave.sh
This commit is contained in:
parent
eb1045d1bc
commit
9e59e8a1af
|
@ -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 .
|
Loading…
Reference in New Issue