Skip to content

Open the last opened workspace/directory when there is no folder/workspace query param  #4485

Closed

Description

@jsjoeio

Open the last opened workspace/directory when there is no folder/workspace query param (unless the ignore-last-opened flag is set)

Introduced in #4414

@code-asher may have more details.

Activity

  1. code-asher commented on Nov 10, 2021

    @code-asher
    Member

    To test:

    1. Open a directory or workspace
    2. Remove the ?folder or ?workspace query param and reload
    3. Observe the last directory/workspace you opened is no longer open
  2. GirlBossRush commented on Nov 11, 2021

    @GirlBossRush
    Contributor

    I believe this is no longer possible since upstream moved this state from the server to a to a client side SQL database.

  3. code-asher commented on Nov 12, 2021

    @code-asher
    Member

    The way we did this before was to read our settings file and set it in the workbench web configuration which takes a URIs for the folder and workspace to open.

  4. jsjoeio commented on Nov 19, 2021

    @jsjoeio
    ContributorAuthor

    Should be fixed by coder/vscode#18

  5. jsjoeio commented on Nov 22, 2021

    @jsjoeio
    ContributorAuthor

    Fixed via coder/vscode#18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions