Skip to content
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

Can't create new folder on the dialog when vscode.window.showOpenDialog is called on WSL environment. #11800

Open
takayoshi-k opened this issue Feb 28, 2024 · 3 comments

Comments

@takayoshi-k
Copy link
Contributor

Hi,

vscode.window.showOpenDialog method requests to open a file exproler dialog on the host system.
On the WSL environment, dialog is not opened and use command palet area to select a folder because of no system dialog on it.
In some cases, users want to create a new folder when they want to select a folder.
The system file exproler dialog can do it, but it can't in WSL.
Do you have any solution for it, or do you have a plan to support it on VSCode?

@acassis
Copy link
Contributor

acassis commented Feb 28, 2024

@JorgeGzm @microhobby did you guys face this issue?

@JorgeGzm
Copy link
Contributor

Hi @takayoshi-k,

Check the microhobby repository, maybe can solve your problem.

https://github.com/microhobby/vscode-nuttx

$ grep -R "showOpenDialog" ./
/extensions/microhobby.linuxkerneldev-0.6.1/out/Utils/ExtensionsUtils.js:            return yield vscode.window.showOpenDialog({
./extensions/microhobby.linuxkerneldev-0.6.1/out/DTSEngine.js:                    vscode.window.showOpenDialog(options).then(uris 

@takayoshi-k
Copy link
Contributor Author

Oh...
I am sorry...
I thought I make this issue on VSCode github...
But thank you for your reply. I will check it..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants