Domanda

I can use the terminal in VSCode and the terminal has Full Disk Access, so does VSCode have Full Disk Access?

Can VSCode and extensions run terminal commands?

È stato utile?

Soluzione

That is a mix of misconceptions.

You do not run Terminal in VSCode. Vscode calls macOS to request macOS to launch Terminal. So VSCode does not have Full Disk Access that way.

VSCode also can run command line tools directly not via Terminal. These tools might need Full Disk Access which I think can is done by giving VSCode Full Disk Access.

VSCode also might need Full Disk Access to access files in various different places on the disk.

Except for a few special cases for an App to get Full Disk Access requires the user to manually give it. This is via System Preferences->Security & Privacy -> Full Disk Access

Note I don't use VSCode at the moment but this is the setup for my programming editors.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a apple.stackexchange
scroll top