microsoft / vscode-mock-debug

Starter sample for developing debug adapters for VSCode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] showInputBox vs. showOpenDialog

DatGuyJonathan opened this issue · comments

I'm working on a debug adapter that requires a local file in the launch config. I like that the mock-debug allows the file to be specified in the launch config or prompt the user for it. I noticed the prompt uses showInputBox so the user would have to type/paste the file path. Is that the preferred design instead of something like showOpenDialog? Any downside of using showOpenDialog?

no, using showOpenDialog is fine too.