The “paste with imports” characteristic routinely 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 offered, the paste management will make it accessible to pick out.
Different new options and enhancements in VS Code 1.96:
- VS Code 1.96 finalizes an API that permits extensions to offer protection on a per-test foundation, permitting builders to see precisely what code any given take a look at truly 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 straight use the Transfer To context menu motion on a view container to maneuver the view between the Main Aspect Bar, Secondary Aspect 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 could 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 enhancing with GitHub Copilot. VS Code 1.95 was adopted by three level launch updates that addressed varied bugs.