Skip to content

Optionally open last used folder #241

@stirby

Description

@stirby

A customer requested that we add an option to open the last used directory in VSCode, rather than the one configured by the agent.

If VSCode desktop is configured without the folder, it should default to the last-used directory. However, if the coder_agent is given a default directory to use for ssh connections, this will override that behavior.

It would be nice if in the terraform provider we could explicitly enforce opening the last-used directory.

We want to mimic the desktop behavior as closely as possible.

resource "coder_app" "vscode" {
  agent_id     = agent_id
  icon         = "/icon/code.svg"
  slug         = "vscode"
  display_name = "VS Code Desktop"
  order        = var.order
  ...
  open_recent = true # defaults to false
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy