microsoft / vscode-embedded-tools

Official issue tracking repository for Microsoft's Embedded Tools VS Code extension.
MIT License
43 stars 3 forks source link

The selector to choose a .cproject file to import only shows directories inside a dev container #58

Closed lukas-lang closed 1 year ago

lukas-lang commented 1 year ago

Type: Bug Report

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Create & open a dev container
  2. Copy a project including the .cproject file into the dev container
  3. Select the "Embedded Tools: Create project from ST project
  4. Observe the file selector only showing directories: image

Expected behavior I should be able to simply select the .cproject file, rather than having to manually type .cproject at the end of the path

benmcmorran commented 1 year ago

Thanks for the report. This extension is simply using vscode.window.showOpenDialog() from the VS Code API, so if you're seeing issues with file selection inside a devcontainer I'd open an issue on the main VS Code issue tracker.