VSCode: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 53: Line 53:
* [https://marketplace.visualstudio.com/items?itemName=EQuimper.react-native-react-redux React-Native/React/Redux Snippets]
* [https://marketplace.visualstudio.com/items?itemName=EQuimper.react-native-react-redux React-Native/React/Redux Snippets]
* [https://hub.docker.com/r/linuxserver/code-server Code Server By Docker Container]
* [https://hub.docker.com/r/linuxserver/code-server Code Server By Docker Container]
* [https://www.thunderclient.io/ Thunder Client for VS Code]
* [https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode Prettier Code Formatter]
* [https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode Prettier Code Formatter]
* [https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme Material Icon Theme]
* [https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme Material Icon Theme]
* [https://marketplace.visualstudio.com/items?itemName=msjsdiag.vscode-react-native React Native Tools]
* [https://marketplace.visualstudio.com/items?itemName=msjsdiag.vscode-react-native React Native Tools]

Revision as of 02:03, 27 April 2021

Docker

mkdir -p $HOME/.chorke/docker/vscode/.config
docker run -it --name=vscode \
--env "DOCKER_USER=$USER" \
--user "$(id -u):$(id -g)" \
--publish 127.0.0.1:8080:8080 \
--volume "$HOME/.chorke/docker/vscode/.config:/home/coder/.config" \
--volume "$HOME/chorke/academia/java/base_wss/core_ws:/home/coder/project" \
hub.chorke.org/codercom/code-server:latest
mkdir -p $HOME/chorke/academia/java/base_wss/core_ws
docker run --detach \
--name=vscode \
--env PUID=1000 \
--env PGID=1000 \
--publish 8443:8443 \
--env PASSWORD=sadaqah! \
--restart unless-stopped \
--env TZ=Asia/Kuala_Lumpur \
--env SUDO_PASSWORD=sadaqah! \
--volume "$HOME/chorke/academia/java/base_wss/core_ws:/config" \
hub.chorke.org/linuxserver/code-server
mkdir -p $HOME/chorke/academia/java/base_wss/core_ws
docker run --detach \
--name=vscode \
--env PUID=1000 \
--env PGID=1000 \
--publish 8443:8443 \
--env PASSWORD=sadaqah! \
--restart unless-stopped \
--env TZ=Asia/Kuala_Lumpur \
--env SUDO_PASSWORD=sadaqah! \
--volume "$HOME/chorke/academia/java/base_wss/core_ws:/config" \
hub.chorke.org/linuxserver/code-server:arm32v7-version-v3.8.0

Git Ignore

.vscode/*
.history/
*.code-workspace
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/settings.json
!.vscode/extensions.json

References