Skip to content

vscode.workspace.showSaveDialog not returning full URI in VSCode web #246634

Closed as not planned
@gbrueckl

Description

@gbrueckl

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.99.2
    Commit: 4949701
    Date: 2025-04-10T01:21:25.295Z
    Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0
  • OS Version: Windows 11

Steps to Reproduce:

  1. have an extension that uses vscode.window.showSaveDialog
  2. use that extension in VSCode web
  3. print the URI returned by vscode.window.showSaveDialog

Expected Result: file:///d%3A/someFolder/myFile.txt

Actual Result: file:///myFile.txt

I tested this with Edge browser as interaction with the local file system is only supported with Edge and Chrome: https://code.visualstudio.com/docs/remote/codespaces#_how-do-i-allow-vs-code-in-a-browser-to-access-local-files-and-folders

Metadata

Metadata

Assignees

No one assigned

    Labels

    apifeature-requestRequest for new features or functionalitywebIssues related to running VSCode in the web

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions