Skip to content

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

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

Closed
jsjoeio opened this issue Nov 10, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@jsjoeio
Copy link
Contributor

jsjoeio commented Nov 10, 2021

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.

@jsjoeio jsjoeio added the bug Something isn't working label Nov 10, 2021
@jsjoeio jsjoeio mentioned this issue Nov 10, 2021
46 tasks
@code-asher
Copy link
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

@GirlBossRush
Copy link
Contributor

GirlBossRush commented Nov 11, 2021

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

@code-asher
Copy link
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.

@jsjoeio
Copy link
Contributor Author

jsjoeio commented Nov 19, 2021

Should be fixed by coder/vscode#18

@jsjoeio
Copy link
Contributor Author

jsjoeio commented Nov 22, 2021

Fixed via coder/vscode#18

@jsjoeio jsjoeio closed this as completed Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants