From f9e0ad25851899b40b04246ed016f443cfdb6ca4 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 13 Feb 2024 13:56:02 +0300 Subject: [PATCH] update readme --- vscode-web/README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/vscode-web/README.md b/vscode-web/README.md index 55b12ef..475968e 100644 --- a/vscode-web/README.md +++ b/vscode-web/README.md @@ -9,7 +9,7 @@ tags: [helper, ide, vscode, web] # VS Code Web -Automatically install [Visual Studio Code Server](https://code.visualstudio.com/docs/remote/vscode-server) in a workspace using the [VS Code CLI](https://code.visualstudio.com/docs/editor/command-line) and create an app to access it via the dashboard. +Automatically install [Visual Studio Code Server](https://code.visualstudio.com/docs/remote/vscode-server) in a workspace and create an app to access it via the dashboard. ```tf module "vscode-web" { @@ -31,8 +31,20 @@ module "vscode-web" { source = "registry.coder.com/modules/vscode-web/coder" version = "1.0.2" agent_id = coder_agent.example.id - install_dir = "/home/coder/.vscode-web" + install_prefix = "/home/coder/.vscode-web" folder = "/home/coder" accept_license = true } ``` + +### Install Extensions + +```tf +module "vscode-web" { + source = "registry.coder.com/modules/vscode-web/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + extensions = ["github.copilot", "ms-python.python", "ms-toolsai.jupyter"] + accept_license = true +} +```