Files
vscode/extensions/typescript-language-features
yogeshwaran-c ef6d5f314e fix: send user preferences to TS server even without visible editor
When ensureConfigurationForDocument is called and no visible text editor
is found for the document, getFormattingOptions returns undefined and
the method returns early without sending any configuration including
user preferences like preferTypeOnlyAutoImports to the TS server.

This causes source.addMissingImports to ignore the user's
preferTypeOnlyAutoImports setting.

Fix by falling back to undefined formatting options when no visible
editor is found, ensuring user preferences are always sent.

Closes #272479
2026-03-26 06:45:15 +05:30
..
2026-03-10 20:56:09 -07:00
2026-02-18 17:11:54 -08:00
2026-02-18 22:00:22 -08:00
2026-02-18 17:11:54 -08:00
2026-02-18 17:11:54 -08:00
2026-01-30 13:12:58 -08:00

Language Features for TypeScript and JavaScript files

Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.

Features

See TypeScript in Visual Studio Code and JavaScript in Visual Studio Code to learn about the features of this extension.