The “paste with imports” function 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 obtainable, the paste management will make it out there to pick out.
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 take a look at 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 immediately use the Transfer To context menu motion on a view container to maneuver the view between the Main 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 may 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 will likely 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.