Skip to content

Expand generators.yml schema tip to clarify editor support (VS Code, In… - #6819

Open
fern-api[bot] wants to merge 1 commit into
mainfrom
2026-09-02-fern-ai-2fbdc2-7bdfdbb8
Open

Expand generators.yml schema tip to clarify editor support (VS Code, In…#6819
fern-api[bot] wants to merge 1 commit into
mainfrom
2026-09-02-fern-ai-2fbdc2-7bdfdbb8

Conversation

@fern-api

@fern-api fern-api Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Expanded the <Tip> block near the top of fern/products/sdks/reference/generators-yml-reference.mdx to explain which editors recognize the # yaml-language-server: $schema=... directive (VS Code via the YAML extension and other editors embedding the YAML Language Server) and to provide step-by-step instructions for IntelliJ IDEA users, who must configure schema validation through Preferences → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings instead.

@fern-api
fern-api Bot requested a review from devalog as a code owner September 2, 2026 17:42

The `# yaml-language-server: $schema=...` comment is recognized by the [YAML Language Server](https://github.com/redhat-developer/yaml-language-server), which powers YAML support in **VS Code** (via the [YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)) and other editors that embed the YAML Language Server.

**IntelliJ IDEA** does not use the YAML Language Server comment directive. To get schema validation in IntelliJ, open **Preferences → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings**, add a new mapping, set the schema URL to `https://schema.buildwithfern.dev/generators-yml.json`, and map it to your `generators.yml` file.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] <FernStyles.Acronyms> reported by reviewdog 🐶
'IDEA' has no definition.


The `# yaml-language-server: $schema=...` comment is recognized by the [YAML Language Server](https://github.com/redhat-developer/yaml-language-server), which powers YAML support in **VS Code** (via the [YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)) and other editors that embed the YAML Language Server.

**IntelliJ IDEA** does not use the YAML Language Server comment directive. To get schema validation in IntelliJ, open **Preferences → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings**, add a new mapping, set the schema URL to `https://schema.buildwithfern.dev/generators-yml.json`, and map it to your `generators.yml` file.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] <Microsoft.Contractions> reported by reviewdog 🐶
Use 'doesn't' instead of 'does not'.

Suggested change
**IntelliJ IDEA** does not use the YAML Language Server comment directive. To get schema validation in IntelliJ, open **Preferences → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings**, add a new mapping, set the schema URL to `https://schema.buildwithfern.dev/generators-yml.json`, and map it to your `generators.yml` file.
**IntelliJ IDEA** doesn't use the YAML Language Server comment directive. To get schema validation in IntelliJ, open **Preferences → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings**, add a new mapping, set the schema URL to `https://schema.buildwithfern.dev/generators-yml.json`, and map it to your `generators.yml` file.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🌿 Preview your docs: https://fern-preview-2026-09-02-fern-ai-2fbdc2-7bdfdbb8.docs.buildwithfern.com/learn

Here are the markdown pages you've updated:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants