Skip to content

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

Open
@duchuyvp

Description

@duchuyvp

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

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
Image
Image
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions