تخطَّ إلى المحتوى

Experimental Intellisense for content collections

هذا المحتوى غير متوفر بلغتك بعد.

Type: boolean
Default: false

أُضيفت في: astro@4.14.0

Enables Intellisense features (e.g. code completion, quick hints) for your content collection entries in compatible editors.

When enabled, this feature will generate and add JSON schemas to the .astro directory in your project. These files can be used by the Astro language server to provide Intellisense inside content files (.md, .mdx, .mdoc).

{
experimental: {
contentIntellisense: true,
},
}

To use this feature with the Astro VS Code extension, you must also enable the astro.content-intellisense option in your VS Code settings. For editors using the Astro language server directly, pass the contentIntellisense: true initialization parameter to enable this feature.

ساهم

بماذا تفكّر؟

المجتمع
京ICP备15031610号-99