The “paste with imports” characteristic mechanically provides imports for pasted code when copying and pasting code between JavaScript or TypeScript. Microsoft famous that by default copy and paste will at all times insert simply the pasted textual content. But when a “paste with imports” edit is on the market, the paste management will make it out there to pick.
Different new options and enhancements in VS Code 1.96:
- VS Code 1.96 finalizes an API that allows extensions to offer protection on a per-test foundation, permitting builders to see precisely what code any given check really executed.
- A brand new
copilot-debug
terminal command helps builders begin a debugging session with GitHub Copilot in VS Code. Additionally, GitHub Copilot’s debugging capabilities, together withcopilot-debug
and the/startDebugging
intent, now generatepreLaunchTasks
for code that wants a compilation step earlier than debugging. - Customers now can instantly use the Transfer To context menu motion on a view container to maneuver the view between the Major Facet Bar, Secondary Facet Bar, or Panel space.
- Font ligatures now are supported within the terminal, no matter whether or not GPU acceleration is getting used.
- Builders can management which extensions will be put in in VS Code utilizing the
extensions.allowed
setting. This setting permits for specifying allowed or blocked extensions by writer, particular extensions, and variations. If an extension or model is blocked, it is going to be disabled if already put in. - JavaScript and TypeScript help now makes use of TypeScript 5.7.
The December 11 launch of VS Code 1.96 follows the October 29 launch of VS Code 1.95, which previewed AI-powered code modifying with GitHub Copilot. VS Code 1.95 was adopted by three level launch updates that addressed varied bugs.