vscode-swiftformat icon indicating copy to clipboard operation
vscode-swiftformat copied to clipboard

Extension causes VS Code to ask macOS permissions to read unrelated folders

Open davidalejandroaguilar opened this issue 8 months ago • 3 comments

Hi,

I'm getting prompts asking to grant permissions to unrelated folders when saving a file located in: /Users/david/src/swift/UnitConversions/UnitConversions/ContentView.swift

I saw that nicklockwood/SwiftFormat's repo has a warning:

WARNING: swiftformat . will overwrite any Swift files it finds in the current directory, and any subfolders therein. If you run it in your home directory, it will probably reformat every Swift file on your hard drive.

I'm wondering if this extension accidentally caused that.

image image image image

davidalejandroaguilar avatar Jun 21 '24 18:06 davidalejandroaguilar