TSConfig

plugins

在编辑器内运行的语言服务插件列表。

¥List of language service plugins to run inside the editor.

语言服务插件是一种基于现有 TypeScript 文件向用户提供附加信息的方法。它们可以增强 TypeScript 和编辑器之间的现有消息,或提供自己的错误消息。

¥Language service plugins are a way to provide additional information to a user based on existing TypeScript files. They can enhance existing messages between TypeScript and an editor, or to provide their own error messages.

例如:

¥For example:

VS Code 具有扩展 自动包含语言服务插件 的功能,因此你可以在编辑器中运行一些扩展,而无需在 tsconfig.json 中定义它们。

¥VS Code has the ability for a extension to automatically include language service plugins, and so you may have some running in your editor without needing to define them in your tsconfig.json.