sleistner / vscode-fileutils

Visual Studio Code Extension
https://marketplace.visualstudio.com/items?itemName=sleistner.vscode-fileutils
MIT License
190 stars 26 forks source link

Inconsistent behavior creating files / folders in a Multi-root workspace. #482

Closed marblewraith closed 1 year ago

marblewraith commented 2 years ago

Describe the bug When using a Multi-root workspace with a file open in an editor, creating a file or folder relative to project root skips one of the prompt dialogs.

To Reproduce Steps to reproduce the behavior:

  1. Create a Multi-root workspace
  2. Open a file
  3. File Utils: Create a new file or folder relative to project root

https://user-images.githubusercontent.com/45786628/183316264-082a4f36-3824-408a-89c6-f6276f8e09ac.mp4

Expected behavior When no files are open in an editor, everything works as expected:

https://user-images.githubusercontent.com/45786628/183315954-88915fa1-b7f4-4792-8248-9a15e7d42820.mp4

Notice the prompt dialog that is displayed at 0:13 which shows all 3 project folders present in the workspace (github, base, web).

In the case of a multi-root workspace this prompt should always happen.

Desktop (please complete the following information):

sleistner commented 1 year ago

:tada: This issue has been resolved in version 3.9.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: