You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an extension with a save feature (exporting data in csv, json, etc) that uses vscode.window.showSaveDialog
In a remote environment, when a user tries to save data and selects a local location through the file browser, then the response uri's path and fsPath that are returned are relative paths/filenames. The response's scheme is "vscode-local"
When a user selects a local location through the dropdown (by clicking through the directories), the response uri's path and fsPath that are returned are absolute paths such as "/mnt/c/Users/../output.json"
I am wondering how to resolve the "vscode-local" file scheme into the absolute directory path, so that I can access and save to this location.
The text was updated successfully, but these errors were encountered:
I have an extension with a save feature (exporting data in csv, json, etc) that uses vscode.window.showSaveDialog
In a remote environment, when a user tries to save data and selects a local location through the file browser, then the response uri's path and fsPath that are returned are relative paths/filenames. The response's scheme is "vscode-local"
When a user selects a local location through the dropdown (by clicking through the directories), the response uri's path and fsPath that are returned are absolute paths such as "/mnt/c/Users/../output.json"
I am wondering how to resolve the "vscode-local" file scheme into the absolute directory path, so that I can access and save to this location.
The text was updated successfully, but these errors were encountered: