DiagramView-as-code syntax is not recognized by the vscode extension

The new feature Diagram Views in DBML is great, but If I put it in my .dbml file, the vscode extension wont recognize it and report it as these errors:

A Custom element can only appear in a Project (3057)
A Custom element shouldn’t have a name (3001)

The issue is not even about being able to use this new feature (changing views) in vscode, but about it reporting errors when the syntax is perfectly correct.

1 Like

Hi @DanielSRS,

We are actively working on a new version of the vscode extension to support the diagram view. We will notify you when the new version is available.

Thanks.