Skip to content

Commit

Permalink
Update serious-pumas-run.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh authored Aug 12, 2024
1 parent a8ab210 commit dabf08a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .changeset/serious-pumas-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,18 @@
'astro': minor
---

Adds supoprt for content collectioni intellisenes
Adds support for Intellisense features (e.g. code completion, quick hints) for your content collection entries in compatible editors under the `experimental.contentIntellisense` flag.

```js
import { defineConfig } from 'astro';

export default defineConfig({
experimental: {
contentIntellisense: true
}
})
```

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`).

Note that at this time, this also require enabling the `astro.content-intellisense` option in your editor, or passing the `contentIntellisense: true` initialization parameter to the Astro language server for editors using it directly.

0 comments on commit dabf08a

Please sign in to comment.