Either way, just add the JSON below.Įnter fullscreen mode Exit fullscreen mode If you already have Workspace preferences it may show some JSON. After typing "settings.json" into Command Palette you should see some selections like this, I chose the Workspace one.It saves a settings file in your current project. This method is useful because it's project-specific and you may not want all your projects to default to Rosetta terminal (x86).
I'm going to show how to do it for the Workspace settings. There are a couple variations of how you could do this, such as in User or Workspace settings.
As of December 2021, there were some issues, so developers often use a Rosetta terminal which resolves the issues. This is useful for example when developing with Rust and Solana on an Mac with M1 chip. I'll share a few tips on how to set the default terminal in Visual Studio Code. Visual Studio Code is one of the most popular development IDE tools.Ī Rosetta terminal (on MacOS) means you are loading and running the Terminal app using the x86 emulation. "Terminal" is the application on Mac that takes command line input (CLI), and is integrated with Visual Studio Code. Background: "Rosetta" is the name of the Apple Mac application that can emulate x86 architecture even when on an Apple ARM (ie.