sleistner / vscode-fileutils

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

Changing case for a filename on MacOS triggers file exists, with prompt: Overwrite? #404

Open mattorp opened 3 years ago

mattorp commented 3 years ago

Describe the bug MacOS filenames are case is case insensitive. A new file with the same name but different casing will overwrite the other file. When renaming a file, only changing the casing, an overwrite prompt is triggered.

To Reproduce

  1. Open a file
  2. Use File Utils: Rename from command palette
  3. Change the casing of the filename

Expected behavior The file is renamed without a prompt if the file system is case insensitive. If the original filename is different, so it overwrites another file, the prompt should still be triggered.

Desktop: