Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
duchuyvp opened this issue Dec 8, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@duchuyvp
Copy link

duchuyvp commented Dec 8, 2024

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.

@matifali matifali transferred this issue from coder/terraform-provider-coder Dec 12, 2024
@coder-labeler coder-labeler bot added docs Improvements or additions to documentation help wanted Extra attention is needed labels Dec 12, 2024
@matifali
Copy link
Member

matifali commented Dec 12, 2024

Thank you for reporting the issue. We will look into it.

This looks related to #296
cc: @phorcys420

@matifali matifali removed the docs Improvements or additions to documentation label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants