VSCode: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 72: Line 72:
==Extensions==
==Extensions==
  '''quick open (control + p)'''
  '''quick open (control + p)'''
ext install redhat.vscode-extension-red-hat-business-automation-bundle
  ext install kie-group.vscode-extension-kogito-bundle
  ext install kie-group.vscode-extension-kogito-bundle
  ext install isudox.vscode-jetbrains-keybindings
  ext install isudox.vscode-jetbrains-keybindings

Revision as of 21:47, 6 February 2023

vs code
sudo snap install code --classic
code ./my_project

Shortcuts

───────────────────────────────────────────────
⌘       + Shift + \ » Focus terminal tabs view
⌘       + PgUp      » Move to previous terminal
⌘       + PgDn      » Move to next terminal
───────────────────────────────────────────────
Control + Shift + \ » Focus terminal tabs view
Control + PgUp      » Move to previous terminal
Control + PgDn      » Move to next terminal

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

Extensions

quick open (control + p)
ext install redhat.vscode-extension-red-hat-business-automation-bundle
ext install kie-group.vscode-extension-kogito-bundle
ext install isudox.vscode-jetbrains-keybindings
ext install EQuimper.react-native-react-redux
ext install msjsdiag.vscode-react-native
ext install PKief.material-icon-theme
ext install ckolkman.vscode-postgres
ext install esbenp.prettier-vscode
ext install ritwickdey.LiveServer
ext install ms-kubernetes-tools.vscode-kubernetes-tools
ext install ms-vscode-remote.remote-containers
ext install ms-azuretools.vscode-docker
ext install ms-python.python
ext install iocave.customize-ui

Preferences

open settings (control + shift + p)
Preferences:Open Settings (JSON)
Preferences:Open Settings (UI)

References