VSCode Container Image for FaasJS projects
Features
- Includes latest node and package managers:
- Includes ohmyzsh with below plugins:
- git
- zsh-completions
- zsh-autosuggestions
- zsh-syntax-highlighting
- zsh-history-substring-search
- you-should-use
- autoupdate
- zsh-npm
- zsh-pnpm
- zsh-bun
Before you use
- Install latest VSCode.
- Install latest Docker.
- Install VSCode plugin: Remote Containers.
Usage
- Create a folder
.devcontainer
in your project root. - Create
devcontainer.json
in.devcontainer
folder. - Copy below code into
devcontainer.json
:
{
"name": "dev",
"image": "faasjs/vscode",
"extensions": [
"eamodio.gitlens",
"faasjs.faasjs-snippets",
"biomejs.biome"
],
"settings": {
"terminal.integrated.shell.linux": "/bin/zsh"
}
}
- Open your project with VSCode.
- Click popup window with
Remote-Containers: Reopen in Container
.