nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

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

Open takayoshi-k opened this issue 1 year ago • 3 comments

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?

takayoshi-k avatar Feb 28 '24 01:02 takayoshi-k

@JorgeGzm @microhobby did you guys face this issue?

acassis avatar Feb 28 '24 18:02 acassis

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 

JorgeGzm avatar Feb 28 '24 19:02 JorgeGzm

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

takayoshi-k avatar Mar 12 '24 02:03 takayoshi-k