coder / coder/registry

`vscode-web` module doesn't apply settings.json and takes long time to install

Open
#42 3 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
HCL
Stars
79
Forks
161
Avg merge
1d 10h
Merged PRs (30d)
38

Description

For context, I'm using `vscode-web` module on Coder template, I defined module in main.tf as follow:

```tf
module "vscode-web" {
source = "registry.coder.com/modules/vscode-web/coder"
version = "1.0.22"
agent_id = coder_agent.main.id
extensions = [
"github.copilot",
"ms-python.python",
"ms-toolsai.jupyter",
]
accept_license = true

# my personal settings.
settings = {
"workbench.colorTheme" = "Dark Modern",
"terminal.integrated.cursorBlinking" = true,
"terminal.integrated.cursorStyle" = "line",
"terminal.integrated.cursorStyleInactive" = "none",
"terminal.integrated.fontSize" = 16,
"git.autofetch" = true,
"editor.fontSize" = 16,
"editor.suggestSelection" = "first",
"editor.linkedEditing" = true,
}

folder = "/workspaces"
}
```

First, it takes long time to install vscode on workspaces create from template, this build timeline that I capture from coder web:

![Image](https://github.com/user-attachments/assets/b0945b68-31e1-4f9e-b944-dc091b4f4ec2)
![Image](https://github.com/user-attachments/assets/a2356a25-7e8d-4e7c-aa99-3b17c62e8b9a)
![Image](https://github.com/user-attachments/assets/dcb5b26f-ed81-472f-bd39-710bd496a5d9)
Since other modules don't take much time like vscode-web, I think it is `vscode-web`'s problem.

And second, even I spec my personal settings.json but it's not apply on vscode-web (extensions still works well)

Help me, please. Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.