Skip to content

Commit 97d206e

Browse files
docs: Add a note on configuring generator.yaml to avoid LSP complaints (serverpod#323)
1 parent a24a0b1 commit 97d206e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/06-concepts/21-experimental.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ However, they may not be fully stable or complete and are subject to change.
1010

1111
Experimental features are disabled by default, i.e. they are not active unless the developer opts-in.
1212

13+
:::note
14+
To make the LSP server understand the usage of experimental flags and avoid complaints about unknown syntax on model files, configure experimental features in the `config/generator.yaml` file. See the [configuration documentation](configuration#experimental-features) for more details.
15+
:::
16+
1317
## Experimental internal APIs
1418

1519
Experimental internal APIs are placed under the `experimental` sub-API of the `Serverpod` class.

versioned_docs/version-2.9.0/06-concepts/21-experimental.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ However, they may not be fully stable or complete and are subject to change.
1010

1111
Experimental features are disabled by default, i.e. they are not active unless the developer opts-in.
1212

13+
:::note
14+
To make the LSP server understand the usage of experimental flags and avoid complaints about unknown syntax on model files, configure experimental features in the `config/generator.yaml` file. See the [configuration documentation](configuration#experimental-features) for more details.
15+
:::
16+
1317
## Experimental internal APIs
1418

1519
Experimental internal APIs are placed under the `experimental` sub-API of the `Serverpod` class.

0 commit comments

Comments
 (0)