vscode api for file explorer
问题 I am onto writing a VSCode extension and need to create files / remove files based in a folder / subfolder selected by the user. Is there a way to find selected folder from the explorer tree through visual studio code api? One can track the opened file through active text editor or onDidOpenTextDocument() . I am interested in finding if user has selected a folder and if so the path to selected folder. For example: workspace.rootPath provides a root of the opened project. Similarly, how do I