Visual Studio Code introduces restricted mode for untrusted folders
Microsoft’s Visual Studio Code editor has reached version 1.126, which is highlighted by a new security mode for untrusted code. Also with the new release, VS Code now displays total cost for chat sessions (instead of just for individual turns) and allows users to manage multiple chats side-by-side in a single agent host session. Published June 24, VS Code 1.26 can be downloaded from code.visualstudio.com. VS Code 1.26 introduces a new security enhancement, Workspace Trust, that lets users decide whether project folders can automatically run code and adds a layer of security when working with unfamiliar code. Previously, opening a new folder immediately raised a dialog asking the user whether to trust the folder before they could look at its contents. Now, new folders open in Restricted Mode to prevent automatic code execution. Developers can browse the code safely first and then choose whether to trust the folder. Simplified model hovering also is featured in VS Code 1.126. The mode